TextImageExtensions.GetSubText(ITextImage, Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.