VsHiddenTextLayerClass Class

Definition

Adds or enumerates hidden text sessions.

[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.Guid("9B6AB22E-916A-11D2-8914-0000F87579D2")]
[System.Runtime.InteropServices.TypeLibType(2)]
public class VsHiddenTextLayerClass : Microsoft.VisualStudio.TextManager.Interop.VsHiddenTextLayer
Inheritance
VsHiddenTextLayerClass
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

VsHiddenTextLayerClass()

Creates a new instance of the class.

Methods

AddHiddenRegions(UInt32, Int32, NewHiddenRegion[], IVsEnumHiddenRegions[])

Adds a new hidden region to the text buffer.

EnumHiddenRegions(UInt32, UInt32, TextSpan[], IVsEnumHiddenRegions)

Returns a list of the current hidden regions.

Terminate()

Ends the hidden text session.

UnadviseClient()

Releases the IVsHiddenTextClient.

Extension Methods

FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)
IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

Applies to