Share via


ExpansionProvider.GetFieldSpan(String, TextSpan) Method

Definition

Gets the field span of the specified field

public:
 virtual bool GetFieldSpan(System::String ^ field, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::TextSpan % pts);
public:
 virtual bool GetFieldSpan(Platform::String ^ field, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::TextSpan &  pts);
 virtual bool GetFieldSpan(std::wstring const & field, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::TextSpan & pts);
public virtual bool GetFieldSpan (string field, out Microsoft.VisualStudio.TextManager.Interop.TextSpan pts);
abstract member GetFieldSpan : string * TextSpan -> bool
override this.GetFieldSpan : string * TextSpan -> bool
Public Overridable Function GetFieldSpan (field As String, ByRef pts As TextSpan) As Boolean

Parameters

field
String

The field for which to get the text span.

pts
TextSpan

[out] Returns the TextSpan, which may be empty if there is no ExpansionSession.

Returns

true if ExpansionSession is not null, otherwise false.

Remarks

This method calls the GetFieldSpan method.

Applies to