Freigeben über


NewHiddenRegion Structure

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

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

Syntax

'Declaration
Public Structure NewHiddenRegion
public struct NewHiddenRegion
public value class NewHiddenRegion
[<Sealed>]
type NewHiddenRegion =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The NewHiddenRegion type exposes the following members.

Methods

  Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
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.)
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 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 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

Remarks

This structure provides information about characteristics of a new region including the type of region (hidden or outline), the region behavior (client- or editor-controlled), the region state (collapsed or expanded), and the banner text displayed when an outline region is collapsed.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace