Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Returns the ITypeInfo for a class with dynamic, changeable type information.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function GetDynamicClassInfo ( _
<OutAttribute> ByRef ppTI As Type, _
<OutAttribute> ByRef pdwCookie As UInteger _
) As Integer
int GetDynamicClassInfo(
out Type ppTI,
out uint pdwCookie
)
int GetDynamicClassInfo(
[OutAttribute] Type^% ppTI,
[OutAttribute] unsigned int% pdwCookie
)
abstract GetDynamicClassInfo :
ppTI:Type byref *
pdwCookie:uint32 byref -> int
function GetDynamicClassInfo(
ppTI : Type,
pdwCookie : uint
) : int
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.Int32
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
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.