Udostępnij za pośrednictwem


ITextImage.GetSubText(Span) Method

Definition

Create a new ITextImage that is a clone of a subspan of this ITextImage.

public:
 Microsoft::VisualStudio::Text::ITextImage ^ GetSubText(Microsoft::VisualStudio::Text::Span span);
public Microsoft.VisualStudio.Text.ITextImage GetSubText (Microsoft.VisualStudio.Text.Span span);
abstract member GetSubText : Microsoft.VisualStudio.Text.Span -> Microsoft.VisualStudio.Text.ITextImage
Public Function GetSubText (span As Span) As ITextImage

Parameters

span
Span

Returns

Remarks

The new ITextImage will not inherit the version or version history of this ITextImage.

The Version of the returned image will be null even the contents are identical to this.

///

Applies to