ExpansionProvider::GetFieldSpan Method (String^, TextSpan)

 

Gets the field span of the specified field

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

public:
virtual bool GetFieldSpan(
	String^ field,
	[OutAttribute] TextSpan% pts
)

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 null, otherwise false.

This method calls the GetFieldSpan method.

Return to top
Show: