Gets or sets the text span in the source file that corresponds to the entry's text.
Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'宣言
Public Property Span As TextSpan
'使用
Dim instance As DropDownMember
Dim value As TextSpan
value = instance.Span
instance.Span = value
public TextSpan Span { get; set; }
public:
property TextSpan Span {
TextSpan get ();
void set (TextSpan value);
}
public function get Span () : TextSpan
public function set Span (value : TextSpan)
Property Value
Type: Microsoft.VisualStudio.TextManager.Interop.TextSpan
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.