IProvideDynamicClassInfo.GetDynamicClassInfo(Type, UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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
);