Delen via


SyntaxNodeOrToken.GetLocation Method

Definition

Get the location of this node or token.

public:
 Microsoft::CodeAnalysis::Location ^ GetLocation();
public Microsoft.CodeAnalysis.Location GetLocation ();
public Microsoft.CodeAnalysis.Location? GetLocation ();
member this.GetLocation : unit -> Microsoft.CodeAnalysis.Location
Public Function GetLocation () As Location

Returns

Applies to