共用方式為


IVsHiddenRegion Members

Include Protected Members
Include Inherited Members

Manages the hidden region.

The IVsHiddenRegion type exposes the following members.

Methods

  Name Description
Public method GetBanner Returns the banner for the hidden region.
Public method GetBaseBuffer Provides a pointer to the text buffer from the hidden region.
Public method GetBehavior Returns the hidden region behavior, that is, client-controlled or editor-controlled.
Public method GetClientData Returns the client data for the hidden region.
Public method GetSpan Returns the text span of the hidden region in the text buffer.
Public method GetState Returns the state of the hidden region.
Public method GetType Returns the hidden region type (that is, concealed or collapsible).
Public method Invalidate Removes the hidden region and exposes the hidden text in the normal view.
Public method IsValid Determines whether the hidden region is valid.
Public method SetBanner Sets the banner for the hidden region.
Public method SetClientData Sets the client data for the hidden region.
Public method SetSpan Sets the text span of the hidden region in the text buffer.
Public method SetState Sets the state of the hidden region.

Top

See Also

Reference

IVsHiddenRegion Interface

Microsoft.VisualStudio.TextManager.Interop Namespace