Compartilhar via


IVsEnumSyntheticRegions.GetCount Method

Returns the total count of synthetic regions in the enumeration sequence.

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

Syntax

'Declaration
Function GetCount ( _
    <OutAttribute> ByRef pcRegions As UInteger _
) As Integer
int GetCount(
    out uint pcRegions
)
int GetCount(
    [OutAttribute] unsigned int% pcRegions
)
abstract GetCount : 
        pcRegions:uint32 byref -> int
function GetCount(
    pcRegions : uint
) : int

Parameters

  • pcRegions
    Type: System.UInt32%

    [out] Total count of synthetic regions in the enumeration sequence.

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:

[C++]

HRESULT IVsEnumSyntheticRegions::GetCount(
   [out] ULONG *pcRegions
);

.NET Framework Security

See Also

Reference

IVsEnumSyntheticRegions Interface

Microsoft.VisualStudio.TextManager.Interop Namespace