IMarshal2 接口

此 API 支持 .NET Framework 基础结构,不适合在代码中直接使用。

命名空间:  Microsoft.VisualStudio.OLE.Interop
程序集:  Microsoft.VisualStudio.OLE.Interop(在 Microsoft.VisualStudio.OLE.Interop.dll 中)

语法

声明
<GuidAttribute("000001CF-0000-0000-C000-000000000046")> _
<InterfaceTypeAttribute()> _
Public Interface IMarshal2 _
    Inherits IMarshal
[GuidAttribute("000001CF-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
public interface IMarshal2 : IMarshal

方法

  名称 说明
公共方法 DisconnectObject(UInt32) (继承自 IMarshal。)
公共方法 DisconnectObject(UInt32)
公共方法 GetMarshalSizeMax(Guid%, IntPtr, UInt32, IntPtr, UInt32, UInt32%) (继承自 IMarshal。)
公共方法 GetMarshalSizeMax(Guid%, IntPtr, UInt32, IntPtr, UInt32, UInt32%)
公共方法 GetUnmarshalClass(Guid%, IntPtr, UInt32, IntPtr, UInt32, Guid%) (继承自 IMarshal。)
公共方法 GetUnmarshalClass(Guid%, IntPtr, UInt32, IntPtr, UInt32, Guid%)
公共方法 MarshalInterface(IStream, Guid%, IntPtr, UInt32, IntPtr, UInt32) (继承自 IMarshal。)
公共方法 MarshalInterface(IStream, Guid%, IntPtr, UInt32, IntPtr, UInt32)
公共方法 ReleaseMarshalData(IStream) (继承自 IMarshal。)
公共方法 ReleaseMarshalData(IStream)
公共方法 UnmarshalInterface(IStream, Guid%, IntPtr%) (继承自 IMarshal。)
公共方法 UnmarshalInterface(IStream, Guid%, IntPtr%)

页首

请参见

参考

Microsoft.VisualStudio.OLE.Interop 命名空间