DocumentSymbol.SelectionRange 属性

定义

获取或设置在选取此符号时应选择并显示的范围,例如函数的名称。 必须包含在中 range

public:
 property Microsoft::VisualStudio::LanguageServer::Protocol::Range ^ SelectionRange { Microsoft::VisualStudio::LanguageServer::Protocol::Range ^ get(); void set(Microsoft::VisualStudio::LanguageServer::Protocol::Range ^ value); };
[System.Runtime.Serialization.DataMember(IsRequired=true, Name="selectionRange")]
public Microsoft.VisualStudio.LanguageServer.Protocol.Range SelectionRange { get; set; }
[<System.Runtime.Serialization.DataMember(IsRequired=true, Name="selectionRange")>]
member this.SelectionRange : Microsoft.VisualStudio.LanguageServer.Protocol.Range with get, set
Public Property SelectionRange As Range

属性值

Range
属性

适用于