FromSyntaxTree(SyntaxTree)
Gets the key of the document a SyntaxTree belongs to.
Declaration
public static DocumentKey FromSyntaxTree(SyntaxTree syntaxTree)Parameters
| Type | Name | Description |
|---|---|---|
| SyntaxTree | syntaxTree |
Returns
| Type | Description |
|---|---|
| DocumentKey |
Gets the key of the document a SyntaxTree belongs to.
public static DocumentKey FromSyntaxTree(SyntaxTree syntaxTree)| Type | Name | Description |
|---|---|---|
| SyntaxTree | syntaxTree |
| Type | Description |
|---|---|
| DocumentKey |