共用方式為


IRequireClasses.CountRequiredClasses(UInt32) Method

Definition

Gets the number of classes the package requires.

public:
 int CountRequiredClasses([Runtime::InteropServices::Out] System::UInt32 % pCount);
int CountRequiredClasses([Runtime::InteropServices::Out] unsigned int & pCount);
public int CountRequiredClasses (out uint pCount);
abstract member CountRequiredClasses : uint32 -> int
Public Function CountRequiredClasses (ByRef pCount As UInteger) As Integer

Parameters

pCount
UInt32

[out] Pointer to the count of required classes.

Returns

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

Remarks

COM Signature

From objext.idl:

[C++]

HRESULT IRequireClasses::CountRequiredClasses(  
   [out] ULONG* pCount  
);  

Applies to