Open sandboxFocus

Method GetDocumentKey

GetDocumentKey(SyntaxTree)

Gets the key of the document a SyntaxTree belongs to.

Declaration
public static DocumentKey GetDocumentKey(this SyntaxTree syntaxTree)
Parameters
Type Name Description
SyntaxTree syntaxTree
Returns
Type Description
DocumentKey