Condividi tramite


DropDownMember.Span Property

Gets or sets the text span in the source file that corresponds to the entry's text.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)

Syntax

'Dichiarazione
Public Property Span As TextSpan
    Get
    Set
'Utilizzo
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);
}
member Span : TextSpan with get, set
function get Span () : TextSpan
function set Span (value : TextSpan)

Property Value

Type: Microsoft.VisualStudio.TextManager.Interop.TextSpan
TextSpan.

.NET Framework Security

See Also

Reference

DropDownMember Class

DropDownMember Members

Microsoft.VisualStudio.Package Namespace