Condividi tramite


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

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

See Also

Reference

IVsHiddenRegion Interface

Microsoft.VisualStudio.TextManager.Interop Namespace