共用方式為


IMarshal.GetMarshalSizeMax Method

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'宣告
Sub GetMarshalSizeMax ( _
    ByRef riid As Guid, _
    pv As IntPtr, _
    dwDestContext As UInteger, _
    pvDestContext As IntPtr, _
    MSHLFLAGS As UInteger, _
    <OutAttribute> ByRef pSize As UInteger _
)
'用途
Dim instance As IMarshal
Dim riid As Guid
Dim pv As IntPtr
Dim dwDestContext As UInteger
Dim pvDestContext As IntPtr
Dim MSHLFLAGS As UInteger
Dim pSize As UInteger

instance.GetMarshalSizeMax(riid, pv, dwDestContext, _
    pvDestContext, MSHLFLAGS, pSize)
void GetMarshalSizeMax(
    ref Guid riid,
    IntPtr pv,
    uint dwDestContext,
    IntPtr pvDestContext,
    uint MSHLFLAGS,
    out uint pSize
)
void GetMarshalSizeMax(
    [InAttribute] Guid% riid, 
    [InAttribute] IntPtr pv, 
    [InAttribute] unsigned int dwDestContext, 
    [InAttribute] IntPtr pvDestContext, 
    [InAttribute] unsigned int MSHLFLAGS, 
    [OutAttribute] unsigned int% pSize
)
abstract GetMarshalSizeMax : 
        riid:Guid byref * 
        pv:IntPtr * 
        dwDestContext:uint32 * 
        pvDestContext:IntPtr * 
        MSHLFLAGS:uint32 * 
        pSize:uint32 byref -> unit 
function GetMarshalSizeMax(
    riid : Guid, 
    pv : IntPtr, 
    dwDestContext : uint, 
    pvDestContext : IntPtr, 
    MSHLFLAGS : uint, 
    pSize : uint
)

Parameters

.NET Framework Security

See Also

Reference

IMarshal Interface

IMarshal Members

Microsoft.VisualStudio.OLE.Interop Namespace