共用方式為


VsTextSpanSetClass Class

Definition

Utility for text string matching. See IVsTextSpanSet.

public ref class VsTextSpanSetClass : Microsoft::VisualStudio::TextManager::Interop::VsTextSpanSet
[Windows::Foundation::Metadata::WebHostHidden]
class VsTextSpanSetClass : Microsoft::VisualStudio::TextManager::Interop::VsTextSpanSet
[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.Guid("31A81214-5A9F-4532-ACD0-3204A9AB5D08")]
[System.Runtime.InteropServices.TypeLibType(2)]
public class VsTextSpanSetClass : Microsoft.VisualStudio.TextManager.Interop.VsTextSpanSet
[System.Runtime.InteropServices.Guid("31A81214-5A9F-4532-ACD0-3204A9AB5D08")]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
public class VsTextSpanSetClass : Microsoft.VisualStudio.TextManager.Interop.VsTextSpanSet
[<System.Runtime.InteropServices.ClassInterface(0)>]
[<System.Runtime.InteropServices.Guid("31A81214-5A9F-4532-ACD0-3204A9AB5D08")>]
[<System.Runtime.InteropServices.TypeLibType(2)>]
type VsTextSpanSetClass = class
    interface IVsTextSpanSet
    interface VsTextSpanSet
[<System.Runtime.InteropServices.Guid("31A81214-5A9F-4532-ACD0-3204A9AB5D08")>]
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
type VsTextSpanSetClass = class
    interface VsTextSpanSet
    interface IVsTextSpanSet
Public Class VsTextSpanSetClass
Implements VsTextSpanSet
Inheritance
VsTextSpanSetClass
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

VsTextSpanSetClass()

Creates a new instance of the class.

Methods

Add(Int32, TextSpan[])

Method information not provided. Do not use.

AddFromEnum(IVsEnumTextSpans)

Method information not provided. Do not use.

AttachTextImage(Object)

Passes a text image to the environment.

Detach()

Releases a text image.

GetAt(Int32, TextSpan[])

Returns a requested text span.

GetCount(Int32)

Returns the number of text spans.

RemoveAll()

Method information not provided. Do not use.

ResumeTracking()

Method information not provided. Do not use.

Sort(UInt32)

Method information not provided. Do not use.

SuspendTracking()

Method information not provided. Do not use.

Applies to