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
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, voir Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.