Share via


VsTextSpanSetClass Class

Utility for text string matching. See IVsTextSpanSet.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TextManager.Interop.VsTextSpanSetClass

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
<GuidAttribute("31A81214-5A9F-4532-ACD0-3204A9AB5D08")> _
<ClassInterfaceAttribute()> _
Public Class VsTextSpanSetClass _
    Implements IVsTextSpanSet, VsTextSpanSet
[GuidAttribute("31A81214-5A9F-4532-ACD0-3204A9AB5D08")]
[ClassInterfaceAttribute()]
public class VsTextSpanSetClass : IVsTextSpanSet, 
    VsTextSpanSet
[GuidAttribute(L"31A81214-5A9F-4532-ACD0-3204A9AB5D08")]
[ClassInterfaceAttribute()]
public ref class VsTextSpanSetClass : IVsTextSpanSet, 
    VsTextSpanSet
[<GuidAttribute("31A81214-5A9F-4532-ACD0-3204A9AB5D08")>]
[<ClassInterfaceAttribute()>]
type VsTextSpanSetClass =  
    class 
        interface IVsTextSpanSet 
        interface VsTextSpanSet 
    end
public class VsTextSpanSetClass implements IVsTextSpanSet, VsTextSpanSet

The VsTextSpanSetClass type exposes the following members.

Constructors

  Name Description
Public method VsTextSpanSetClass Creates a new instance of the class.

Top

Methods

  Name Description
Public method Add Method information not provided. Do not use.
Public method AddFromEnum Method information not provided. Do not use.
Public method AttachTextImage Passes a text image to the environment.
Public method Detach Releases a text image.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetAt Returns a requested text span.
Public method GetCount Returns the number of text spans.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method RemoveAll Method information not provided. Do not use.
Public method ResumeTracking Method information not provided. Do not use.
Public method Sort Method information not provided. Do not use.
Public method SuspendTracking Method information not provided. Do not use.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace