IVsEnumBSTR.GetCount Method
Returns the total count of BSTRs 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 pceltCount As UInteger _
) As Integer
int GetCount(
out uint pceltCount
)
int GetCount(
[OutAttribute] unsigned int% pceltCount
)
abstract GetCount :
pceltCount:uint32 byref -> int
function GetCount(
pceltCount : uint
) : int
Parameters
pceltCount
Type: System.UInt32%[out] Number of BSTRs.
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 IVsEnumBSTR::GetCount(
[out] ULONG *pceltCount
);
.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.