VsHiddenTextLayerClass Class
Adds or enumerates hidden text sessions.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.TextManager.Interop.VsHiddenTextLayerClass
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
<GuidAttribute("9B6AB22E-916A-11D2-8914-0000F87579D2")> _
<ClassInterfaceAttribute()> _
Public Class VsHiddenTextLayerClass _
Implements IVsHiddenTextSession, VsHiddenTextLayer
[GuidAttribute("9B6AB22E-916A-11D2-8914-0000F87579D2")]
[ClassInterfaceAttribute()]
public class VsHiddenTextLayerClass : IVsHiddenTextSession,
VsHiddenTextLayer
[GuidAttribute(L"9B6AB22E-916A-11D2-8914-0000F87579D2")]
[ClassInterfaceAttribute()]
public ref class VsHiddenTextLayerClass : IVsHiddenTextSession,
VsHiddenTextLayer
[<GuidAttribute("9B6AB22E-916A-11D2-8914-0000F87579D2")>]
[<ClassInterfaceAttribute()>]
type VsHiddenTextLayerClass =
class
interface IVsHiddenTextSession
interface VsHiddenTextLayer
end
public class VsHiddenTextLayerClass implements IVsHiddenTextSession, VsHiddenTextLayer
The VsHiddenTextLayerClass type exposes the following members.
Constructors
Name | Description | |
---|---|---|
VsHiddenTextLayerClass | Creates a new instance of the class. |
Top
Methods
Name | Description | |
---|---|---|
AddHiddenRegions | Adds a new hidden region to the text buffer. | |
EnumHiddenRegions | Returns a list of the current hidden regions. | |
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.) | |
GetHashCode | Serves as the default hash function. (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.) | |
Terminate | Ends the hidden text session. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UnadviseClient | Releases the IVsHiddenTextClient. |
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.