IEnumSystemAssemblies.Count Method
Gets the number of enumerated system assemblies.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)
Syntax
'宣言
Function Count ( _
<OutAttribute> ByRef pCount As UInteger _
) As Integer
'使用
Dim instance As IEnumSystemAssemblies
Dim pCount As UInteger
Dim returnValue As Integer
returnValue = instance.Count(pCount)
int Count(
out uint pCount
)
int Count(
[OutAttribute] unsigned int% pCount
)
function Count(
pCount : uint
) : int
Parameters
pCount
Type: System.UInt32%The number of system assemblies.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
From compsvcspkg90.idl:
HRESULT Count([out] ULONG *pCount);
Permissions
- 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.