ExpansionProvider.GetFieldSpan Method

Gets the field span of the specified field

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

Syntax

'Declaration
Public Overridable Function GetFieldSpan ( _
    field As String, _
    <OutAttribute> ByRef pts As TextSpan _
) As Boolean
'Usage
Dim instance As ExpansionProvider 
Dim field As String 
Dim pts As TextSpan 
Dim returnValue As Boolean 

returnValue = instance.GetFieldSpan(field, _
    pts)
public virtual bool GetFieldSpan(
    string field,
    out TextSpan pts
)
public:
virtual bool GetFieldSpan(
    String^ field, 
    [OutAttribute] TextSpan% pts
)
public function GetFieldSpan(
    field : String, 
    pts : TextSpan
) : boolean

Parameters

  • field
    Type: System.String

    The field for which to get the text span.

Return Value

Type: System.Boolean
true if ExpansionSession is not nulla null reference (Nothing in Visual Basic), otherwise false.

Remarks

This method calls the GetFieldSpan method.

.NET Framework Security

See Also

Reference

ExpansionProvider Class

ExpansionProvider Members

Microsoft.VisualStudio.Package Namespace