次の方法で共有


IDiscoveryResult.GetReferenceCount(Int32) Method

Definition

Returns the reference count for the XML Web service.

public:
 int GetReferenceCount([Runtime::InteropServices::Out] int % pCount);
int GetReferenceCount([Runtime::InteropServices::Out] int & pCount);
public int GetReferenceCount (out int pCount);
abstract member GetReferenceCount : int -> int
Public Function GetReferenceCount (ByRef pCount As Integer) As Integer

Parameters

pCount
Int32

[out] Pointer to a reference count object.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From discoveryservice.idl:

HRESULT IDiscoveryResult::GetReferenceCount(  
   [out, retval] int *pCount  
);  

Applies to