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
声明
<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 | |
---|---|---|
VsTextSpanSetClass | Creates a new instance of the class. |
Top
Methods
Name | Description | |
---|---|---|
Add | Method information not provided. Do not use. | |
AddFromEnum | Method information not provided. Do not use. | |
AttachTextImage | Passes a text image to the environment. | |
Detach | Releases a text image. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetAt | Returns a requested text span. | |
GetCount | Returns the number of text spans. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RemoveAll | Method information not provided. Do not use. | |
ResumeTracking | Method information not provided. Do not use. | |
Sort | Method information not provided. Do not use. | |
SuspendTracking | Method information not provided. Do not use. | |
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.