VsTextImageClass VsTextImageClass VsTextImageClass VsTextImageClass VsTextImageClass Class

Definition

Supports text string matching.

public ref class VsTextImageClass : Microsoft::VisualStudio::TextManager::Interop::VsTextImage
[Windows::Foundation::Metadata::WebHostHidden]
class VsTextImageClass : Microsoft::VisualStudio::TextManager::Interop::VsTextImage
[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.Guid("66B88230-2363-4992-B740-B0450A6F51CA")]
[System.Runtime.InteropServices.TypeLibType(2)]
public class VsTextImageClass : Microsoft.VisualStudio.TextManager.Interop.VsTextImage
type VsTextImageClass = class
    interface IVsTextImage
    interface VsTextImage
Public Class VsTextImageClass
Implements VsTextImage
Inheritance
VsTextImageClassVsTextImageClassVsTextImageClassVsTextImageClassVsTextImageClass
Attributes
Implements

Remarks

You cannot create an instance of this class with the new keyword. Instead, you must get the ILocalRegistry object and create the object with CreateInstance. The MPF wraps this method with CreateInstance.

Constructors

VsTextImageClass() VsTextImageClass() VsTextImageClass() VsTextImageClass() VsTextImageClass()

Creates a new instance of the class.

Methods

AdviseTextImageEvents(IVsTextImageEvents, UInt32) AdviseTextImageEvents(IVsTextImageEvents, UInt32) AdviseTextImageEvents(IVsTextImageEvents, UInt32) AdviseTextImageEvents(IVsTextImageEvents, UInt32) AdviseTextImageEvents(IVsTextImageEvents, UInt32)

Registers the environment to receive notification of text image changes.

GetCharSize(Int32) GetCharSize(Int32) GetCharSize(Int32) GetCharSize(Int32) GetCharSize(Int32)

Returns the number of characters in the text image.

GetLine(UInt32, Int32, Int32, Int32, LINEDATAEX[]) GetLine(UInt32, Int32, Int32, Int32, LINEDATAEX[]) GetLine(UInt32, Int32, Int32, Int32, LINEDATAEX[]) GetLine(UInt32, Int32, Int32, Int32, LINEDATAEX[]) GetLine(UInt32, Int32, Int32, Int32, LINEDATAEX[])

Provides direct, line-oriented access to the text buffer.

GetLineLength(Int32, Int32) GetLineLength(Int32, Int32) GetLineLength(Int32, Int32) GetLineLength(Int32, Int32) GetLineLength(Int32, Int32)

Returns the length of a line.

GetLineSize(Int32) GetLineSize(Int32) GetLineSize(Int32) GetLineSize(Int32) GetLineSize(Int32)

Returns the number of lines in the text image.

GetOffsetOfTextAddress(TextAddress, Int32) GetOffsetOfTextAddress(TextAddress, Int32) GetOffsetOfTextAddress(TextAddress, Int32) GetOffsetOfTextAddress(TextAddress, Int32) GetOffsetOfTextAddress(TextAddress, Int32)

Return the buffer address of a given text address.

GetSpanLength(TextSpan[], Int32) GetSpanLength(TextSpan[], Int32) GetSpanLength(TextSpan[], Int32) GetSpanLength(TextSpan[], Int32) GetSpanLength(TextSpan[], Int32)

Returns the number of characters in a text span.

GetText(TextSpan[], Int32, UInt16[]) GetText(TextSpan[], Int32, UInt16[]) GetText(TextSpan[], Int32, UInt16[]) GetText(TextSpan[], Int32, UInt16[]) GetText(TextSpan[], Int32, UInt16[])

Returns the text of a text span.

GetTextAddressOfOffset(Int32, TextAddress[]) GetTextAddressOfOffset(Int32, TextAddress[]) GetTextAddressOfOffset(Int32, TextAddress[]) GetTextAddressOfOffset(Int32, TextAddress[]) GetTextAddressOfOffset(Int32, TextAddress[])

Returns the text address of a given buffer address.

GetTextBSTR(TextSpan[], String) GetTextBSTR(TextSpan[], String) GetTextBSTR(TextSpan[], String) GetTextBSTR(TextSpan[], String) GetTextBSTR(TextSpan[], String)

Returns the text of a text span as a BSTR

LockImage(UInt32) LockImage(UInt32) LockImage(UInt32) LockImage(UInt32) LockImage(UInt32)

Notifies that the text image is in use.

ReleaseLine(LINEDATAEX[]) ReleaseLine(LINEDATAEX[]) ReleaseLine(LINEDATAEX[]) ReleaseLine(LINEDATAEX[]) ReleaseLine(LINEDATAEX[])

Releases the LINEDATAEX structure.

Replace(UInt32, TextSpan[], Int32, String, TextSpan[]) Replace(UInt32, TextSpan[], Int32, String, TextSpan[]) Replace(UInt32, TextSpan[], Int32, String, TextSpan[]) Replace(UInt32, TextSpan[], Int32, String, TextSpan[]) Replace(UInt32, TextSpan[], Int32, String, TextSpan[])

Notification of a text span replacement.

UnadviseTextImageEvents(UInt32) UnadviseTextImageEvents(UInt32) UnadviseTextImageEvents(UInt32) UnadviseTextImageEvents(UInt32) UnadviseTextImageEvents(UInt32)

Cancels the environment's registration to receive notifications of text image changes.

UnlockImage(UInt32) UnlockImage(UInt32) UnlockImage(UInt32) UnlockImage(UInt32) UnlockImage(UInt32)

Notifies that the text image is not in use.

Extension Methods

FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)
IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

Applies to