In The Hand - .NET Components for Mobility
GetTypedObjectForIUnknown Method (pUnk, t)
NamespacesInTheHand.Runtime.InteropServicesMarshalHelperGetTypedObjectForIUnknown(IntPtr, Type)
Returns an instance of a type that represents a COM object by a pointer to its IUnknown interface.
Declaration Syntax
C#Visual Basic
public static Object GetTypedObjectForIUnknown(
	IntPtr pUnk,
	Type t
)
Public Shared Function GetTypedObjectForIUnknown ( _
	pUnk As IntPtr, _
	t As Type _
) As Object
Parameters
pUnk (IntPtr)
A pointer to the IUnknown interface of the unmanaged object.
t (Type)
The Type of the requested managed class.
Return Value

[Missing <returns> documentation for M:InTheHand.Runtime.InteropServices.MarshalHelper.GetTypedObjectForIUnknown(System.IntPtr,System.Type)]

Exceptions
ExceptionCondition
ArgumentExceptiont is not attributed with ComImportAttribute.

Assembly: InTheHand.WindowsMobile (Module: InTheHand.WindowsMobile) Version: 3.2.0.0