Share via


IVsHiddenRegion.GetType(Int32) Method

Definition

Returns the hidden region type (that is, concealed or collapsible).

public:
 int GetType([Runtime::InteropServices::Out] int % piHiddenRegionType);
int GetType([Runtime::InteropServices::Out] int & piHiddenRegionType);
public int GetType (out int piHiddenRegionType);
abstract member GetType : int -> int
Public Function GetType (ByRef piHiddenRegionType As Integer) As Integer

Parameters

piHiddenRegionType
Int32

[out] Pointer to the hidden region type. For more information, see HIDDEN_REGION_TYPE.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsHiddenRegion::GetType(  
   [out] long *piHiddenRegionType  
);  

The hidden region type determines whether the region is concealed (hidden) or collapsible (outlined). The Type is a permanent property of the hidden region.

Applies to