VisualBasicSyntaxTree.GetLocation(TextSpan) 方法

定义

获取指定文本 span的位置。

public:
 override Microsoft::CodeAnalysis::Location ^ GetLocation(Microsoft::CodeAnalysis::Text::TextSpan span);
public override Microsoft.CodeAnalysis.Location GetLocation (Microsoft.CodeAnalysis.Text.TextSpan span);
override this.GetLocation : Microsoft.CodeAnalysis.Text.TextSpan -> Microsoft.CodeAnalysis.Location
Public Overrides Function GetLocation (span As TextSpan) As Location

参数

span
TextSpan

返回

适用于