Open sandboxFocus

Method FromSyntaxTree

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