IProvideDynamicClassInfo::GetDynamicClassInfo Method (Type^, UInt32)
Visual Studio 2015
Returns the ITypeInfo for a class with dynamic, changeable type information.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int GetDynamicClassInfo( [OutAttribute] Type^% ppTI, [OutAttribute] unsigned int% pdwCookie )
Parameters
- ppTI
-
Type:
System::Type^
[out] Pointer to the ITypeInfo interface.
- pdwCookie
-
Type:
System::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.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From designer.idl:
HRESULT IProvideDynamicClassInfo::GetDynamicClassInfo( [out] ITypeInfo ** ppTI, [out] DWORD_PTR * pdwCookie );
Show: