Freigeben über


TextImageExtensions.GetSubText(ITextImage, Int32, Int32) Method

Definition

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

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::VisualStudio::Text::ITextImage ^ GetSubText(Microsoft::VisualStudio::Text::ITextImage ^ image, int startIndex, int length);
public static Microsoft.VisualStudio.Text.ITextImage GetSubText (this Microsoft.VisualStudio.Text.ITextImage image, int startIndex, int length);
static member GetSubText : Microsoft.VisualStudio.Text.ITextImage * int * int -> Microsoft.VisualStudio.Text.ITextImage
<Extension()>
Public Function GetSubText (image As ITextImage, startIndex As Integer, length As Integer) As ITextImage

Parameters

image
ITextImage
startIndex
Int32
length
Int32

Returns

Remarks

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

Applies to