IVsHiddenRegion.GetType Method
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)
Syntax
'Declaration
Function GetType ( _
<OutAttribute> ByRef piHiddenRegionType As Integer _
) As Integer
int GetType(
out int piHiddenRegionType
)
int GetType(
[OutAttribute] int% piHiddenRegionType
)
abstract GetType :
piHiddenRegionType:int byref -> int
function GetType(
piHiddenRegionType : int
) : int
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.
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.