다음을 통해 공유


IVsHiddenTextClient Interface

Provides notification of changes to a newly created hidden text session.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

‘선언
<GuidAttribute("CA3F0E7F-CFA6-444E-A3FE-7B3DFAD6E5E4")> _
<InterfaceTypeAttribute()> _
Public Interface IVsHiddenTextClient
‘사용 방법
Dim instance As IVsHiddenTextClient
[GuidAttribute("CA3F0E7F-CFA6-444E-A3FE-7B3DFAD6E5E4")]
[InterfaceTypeAttribute()]
public interface IVsHiddenTextClient
[GuidAttribute(L"CA3F0E7F-CFA6-444E-A3FE-7B3DFAD6E5E4")]
[InterfaceTypeAttribute()]
public interface class IVsHiddenTextClient
[<GuidAttribute("CA3F0E7F-CFA6-444E-A3FE-7B3DFAD6E5E4")>]
[<InterfaceTypeAttribute()>]
type IVsHiddenTextClient =  interface end
public interface IVsHiddenTextClient

Remarks

If you create your own hidden text session, then you can implement IVsHiddenTextClient. This interface provides notification when the user expands and collapses hidden text regions, and so on. This allows you to implement specific actions for your language service in response to user action.

Notes to Implementers

Implement this interface to receive notification of user actions that affect hidden text regions within the text buffer. If a hidden text session already exists for the text buffer, that is, a call to GetHiddenTextSession returns a pointer to IVsHiddenTextSession, then you cannot specify a hidden text client.

However, if a hidden text session does not exist for the text buffer, then you can pass in a pointer to your hidden text client when you create a new hidden text session by calling CreateHiddenTextSession.

See Also

Reference

IVsHiddenTextClient Members

Microsoft.VisualStudio.TextManager.Interop Namespace