IVsHiddenRegion::GetType Method (Int32)

 

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

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

int GetType(
	[OutAttribute] int% piHiddenRegionType
)

Parameters

piHiddenRegionType
Type: System::Int32

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

Return Value

Type: System::Int32

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

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.

Return to top
Show: