Partager via


IVsHiddenTextSession Interface

Definition

Used to add or enumerate hidden text sessions.

public interface class IVsHiddenTextSession
public interface class IVsHiddenTextSession
__interface IVsHiddenTextSession
[System.Runtime.InteropServices.Guid("82B21BAE-664B-43E1-95B1-0302805FF7D3")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsHiddenTextSession
[System.Runtime.InteropServices.Guid("82B21BAE-664B-43E1-95B1-0302805FF7D3")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsHiddenTextSession
[<System.Runtime.InteropServices.Guid("82B21BAE-664B-43E1-95B1-0302805FF7D3")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsHiddenTextSession = interface
[<System.Runtime.InteropServices.Guid("82B21BAE-664B-43E1-95B1-0302805FF7D3")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsHiddenTextSession = interface
Public Interface IVsHiddenTextSession
Derived
Attributes

Notes to Callers

Call this interface to add or enumerate hidden text sessions.

Methods

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

Adds a new hidden region to the text buffer.

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

Returns a list of the current hidden regions.

Terminate()

Ends the hidden text session.

UnadviseClient()

Releases the IVsHiddenTextClient.

Applies to