C# Class System.Reflection.Emit.UnmanagedMarshal

显示文件 Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
DefineByValArray ( int elemCount ) : UnmanagedMarshal
DefineByValTStr ( int elemCount ) : UnmanagedMarshal
DefineLPArray ( UnmanagedType elemType ) : UnmanagedMarshal
DefineUnmanagedMarshal ( UnmanagedType unmanagedType ) : UnmanagedMarshal

Private Methods

Method Description
InternalGetBytes ( ) : byte[]
UnmanagedMarshal ( UnmanagedType unmanagedType, System.Guid guid, int numElem, UnmanagedType type ) : System.Runtime.InteropServices

Method Details

DefineByValArray() public static method

public static DefineByValArray ( int elemCount ) : UnmanagedMarshal
elemCount int
return UnmanagedMarshal

DefineByValTStr() public static method

public static DefineByValTStr ( int elemCount ) : UnmanagedMarshal
elemCount int
return UnmanagedMarshal

DefineLPArray() public static method

public static DefineLPArray ( UnmanagedType elemType ) : UnmanagedMarshal
elemType UnmanagedType
return UnmanagedMarshal

DefineUnmanagedMarshal() public static method

public static DefineUnmanagedMarshal ( UnmanagedType unmanagedType ) : UnmanagedMarshal
unmanagedType UnmanagedType
return UnmanagedMarshal