다음을 통해 공유


IProvideDynamicClassInfo.GetDynamicClassInfo(Type, UInt32) Method

Definition

Returns the ITypeInfo for a class with dynamic, changeable type information.

public:
 int GetDynamicClassInfo([Runtime::InteropServices::Out] Type ^ % ppTI, [Runtime::InteropServices::Out] System::UInt32 % pdwCookie);
public int GetDynamicClassInfo (out Type ppTI, out uint pdwCookie);
abstract member GetDynamicClassInfo : Type * uint32 -> int
Public Function GetDynamicClassInfo (ByRef ppTI As Type, ByRef pdwCookie As UInteger) As Integer

Parameters

ppTI
Type

[out] Pointer to the ITypeInfo interface.

pdwCookie
UInt32

[out] Pointer to a unique cookie. Can be used to identify the instance of the dynamic class when, for example, persisting the object and its type information.

Returns

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

Remarks

COM Signature

From designer.idl:

HRESULT IProvideDynamicClassInfo::GetDynamicClassInfo(  
   [out] ITypeInfo ** ppTI,   
   [out] DWORD_PTR * pdwCookie  
);  

Applies to