Partager via


IVsEnumSyntheticRegions.GetCount, méthode

Retourne le nombre total de régions synthétiques dans la séquence d'énumération.

Espace de noms :  Microsoft.VisualStudio.TextManager.Interop
Assembly :  Microsoft.VisualStudio.TextManager.Interop (dans Microsoft.VisualStudio.TextManager.Interop.dll)

Syntaxe

'Déclaration
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

Paramètres

  • pcRegions
    Type : UInt32%

    [out] nombre total de régions synthétiques dans la séquence d'énumération.

Valeur de retour

Type : Int32
Si la méthode réussit, elle retourne S_OK.En cas d'échec, un code d'erreur est retourné.

Notes

Signature de COM

De textmgr.idl :

[C++]

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

Sécurité .NET Framework

Voir aussi

Référence

IVsEnumSyntheticRegions Interface

Microsoft.VisualStudio.TextManager.Interop, espace de noms