Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the field span of the specified field
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Syntax
'Declaration
Public Overridable Function GetFieldSpan ( _
field As String, _
<OutAttribute> ByRef pts As TextSpan _
) As Boolean
public virtual bool GetFieldSpan(
string field,
out TextSpan pts
)
public:
virtual bool GetFieldSpan(
String^ field,
[OutAttribute] TextSpan% pts
)
abstract GetFieldSpan :
field:string *
pts:TextSpan byref -> bool
override GetFieldSpan :
field:string *
pts:TextSpan byref -> bool
public function GetFieldSpan(
field : String,
pts : TextSpan
) : boolean
Parameters
- field
Type: System.String
The field for which to get the text span.
- pts
Type: Microsoft.VisualStudio.TextManager.Interop.TextSpan%
[out] Returns the TextSpan, which may be empty if there is no ExpansionSession.
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
- 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.