Delen via


SyntaxNode.GetReference Method

Definition

Gets a SyntaxReference for this syntax node. CommonSyntaxReferences can be used to regain access to a syntax node without keeping the entire tree and source text in memory.

public:
 Microsoft::CodeAnalysis::SyntaxReference ^ GetReference();
public Microsoft.CodeAnalysis.SyntaxReference GetReference ();
member this.GetReference : unit -> Microsoft.CodeAnalysis.SyntaxReference
Public Function GetReference () As SyntaxReference

Returns

Applies to