次の方法で共有


VsTextSpanSetClass Class

Utility for text string matching.

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
'使用
Dim instance As VsTextSpanSetClass
[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

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.

Inheritance Hierarchy

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

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

VsTextSpanSetClass Members

Microsoft.VisualStudio.TextManager.Interop Namespace