Condividi tramite


IVsTextSpanSet Interface

Definition

Utility for text string matching.

public interface class IVsTextSpanSet
public interface class IVsTextSpanSet
__interface IVsTextSpanSet
[System.Runtime.InteropServices.Guid("E6BBDFD0-C06A-11D2-936C-D714766E8B50")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsTextSpanSet
[System.Runtime.InteropServices.Guid("E6BBDFD0-C06A-11D2-936C-D714766E8B50")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsTextSpanSet
[<System.Runtime.InteropServices.Guid("E6BBDFD0-C06A-11D2-936C-D714766E8B50")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsTextSpanSet = interface
[<System.Runtime.InteropServices.Guid("E6BBDFD0-C06A-11D2-936C-D714766E8B50")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsTextSpanSet = interface
Public Interface IVsTextSpanSet
Derived
Attributes

Remarks

To support searching, you must implement either GetSearchImage or Find and Find.

Notes to Implementers

Implement this interface to support find and replace in a text image.

Methods

Add(Int32, TextSpan[])

Do not use this method.

AddFromEnum(IVsEnumTextSpans)

Do not use this method.

AttachTextImage(Object)

Passes a text image to the environment.

Detach()

Release a text image.

GetAt(Int32, TextSpan[])

Returns a requested text span.

GetCount(Int32)

Returns the number of text spans

RemoveAll()

Do not use this method.

ResumeTracking()

Do not use this method.

Sort(UInt32)

Do not use this method.

SuspendTracking()

Do not use this method.

Applies to