共用方式為


NewHiddenRegionEx Members

Include Protected Members
Include Inherited Members

Creates a new outline or hidden text region over the specified text span.

The NewHiddenRegionEx type exposes the following members.

Methods

  Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Fields

  Name Description
Public field dwBehavior Determines whether a region is client- or editor-controlled.
Public field dwClient Client-defined information that is used to uniquely identify the new region.
Public field dwLength
Public field dwState Determines whether the new hidden region is expanded or collapsed. For more information see the HIDDEN_REGION_STATE enumeration.
Public field iType Specifies whether a hidden (concealed) or outline (collapsible) region is created. This member is a permanent property of the region. For more information, see the HIDDEN_REGION_TYPE enumeration.
Public field pBannerAttr Specifies banner attributes (same as colorizer attributes).
Public field pszBanner Banner text displayed when the region is collapsed. This value is ignored unless a value of hrbClientControlled is specified for dwBehavior.
Public field tsHiddenText Span of text to create the new region for. For more information, see TextSpan.

Top

See Also

Reference

NewHiddenRegionEx Structure

Microsoft.VisualStudio.TextManager.Interop Namespace