Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Returns the number of results in the collection of discovery results.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function GetResultCount ( _
<OutAttribute> ByRef pCount As Integer _
) As Integer
int GetResultCount(
out int pCount
)
int GetResultCount(
[OutAttribute] int% pCount
)
abstract GetResultCount :
pCount:int byref -> int
function GetResultCount(
pCount : int
) : int
Parameters
pCount
Type: System.Int32%[out] The number of discovery results in the collection.
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 discoveryservice80.idl:
HRESULT IDiscoveryClientResultCollection::GetResultCount(
[out, retval] int *pCount
);
.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.