Metoda IMarshal.MarshalInterface —
Przestrzeń nazw: Microsoft.VisualStudio.OLE.Interop
Zestaw: Microsoft.VisualStudio.OLE.Interop (w Microsoft.VisualStudio.OLE.Interop.dll)
Składnia
'Deklaracja
Sub MarshalInterface ( _
pstm As IStream, _
ByRef riid As Guid, _
pv As IntPtr, _
dwDestContext As UInteger, _
pvDestContext As IntPtr, _
MSHLFLAGS As UInteger _
)
void MarshalInterface(
IStream pstm,
ref Guid riid,
IntPtr pv,
uint dwDestContext,
IntPtr pvDestContext,
uint MSHLFLAGS
)
Parametry
- riid
Typ: System.Guid%
- pv
Typ: System.IntPtr
- dwDestContext
Typ: System.UInt32
- pvDestContext
Typ: System.IntPtr
- MSHLFLAGS
Typ: System.UInt32
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Przy użyciu bibliotek z częściowo zaufanego kodu..