共用方式為


SyntaxNodeOrToken.GetLocation 方法

定義

取得此節點或權杖的位置。

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

傳回

適用於