共用方式為


VsHiddenTextLayer Interface

Definition

Adds or enumerates hidden text sessions.

public interface class VsHiddenTextLayer : Microsoft::VisualStudio::TextManager::Interop::IVsHiddenTextSession
public interface class VsHiddenTextLayer : Microsoft::VisualStudio::TextManager::Interop::IVsHiddenTextSession
__interface VsHiddenTextLayer : Microsoft::VisualStudio::TextManager::Interop::IVsHiddenTextSession
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsHiddenTextLayerClass))]
[System.Runtime.InteropServices.Guid("82B21BAE-664B-43E1-95B1-0302805FF7D3")]
public interface VsHiddenTextLayer : Microsoft.VisualStudio.TextManager.Interop.IVsHiddenTextSession
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsHiddenTextLayerClass))]
[System.Runtime.InteropServices.Guid("82B21BAE-664B-43E1-95B1-0302805FF7D3")]
[System.Runtime.InteropServices.ComVisible(false)]
public interface VsHiddenTextLayer : Microsoft.VisualStudio.TextManager.Interop.IVsHiddenTextSession
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsHiddenTextLayerClass))>]
[<System.Runtime.InteropServices.Guid("82B21BAE-664B-43E1-95B1-0302805FF7D3")>]
type VsHiddenTextLayer = interface
    interface IVsHiddenTextSession
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsHiddenTextLayerClass))>]
[<System.Runtime.InteropServices.Guid("82B21BAE-664B-43E1-95B1-0302805FF7D3")>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type VsHiddenTextLayer = interface
    interface IVsHiddenTextSession
Public Interface VsHiddenTextLayer
Implements IVsHiddenTextSession
Derived
Attributes
Implements

Methods

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

Adds a new hidden region to the text buffer.

(Inherited from IVsHiddenTextSession)
EnumHiddenRegions(UInt32, IntPtr, TextSpan[], IVsEnumHiddenRegions) (Inherited from IVsHiddenTextSession)
EnumHiddenRegions(UInt32, UInt32, TextSpan[], IVsEnumHiddenRegions)

Returns a list of the current hidden regions.

(Inherited from IVsHiddenTextSession)
Terminate()

Ends the hidden text session.

(Inherited from IVsHiddenTextSession)
UnadviseClient()

Releases the IVsHiddenTextClient.

(Inherited from IVsHiddenTextSession)

Applies to