NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

UnmanagedMarshal.DefineUnmanagedMarshal

[To be supplied.]

[Visual Basic]
Public Shared Function DefineUnmanagedMarshal( _
   ByVal unmanagedType As UnmanagedType _
) As UnmanagedMarshal
[C#]
public static UnmanagedMarshal DefineUnmanagedMarshal(
   UnmanagedType unmanagedType
);
[C++]
public: static UnmanagedMarshal* DefineUnmanagedMarshal(
   UnmanagedType unmanagedType
);
[JScript]
public static function DefineUnmanagedMarshal(
   unmanagedType : UnmanagedType
) : UnmanagedMarshal;

Parameters

unmanagedType
To be supplied.

Return Value

Returns a new unmanaged marshal.

Exceptions

Exception Type Condition
ArgumentException If the argument is not a simple native type.

Remarks

The DefineUnmanagedMarshal method is not a simple native marshal.Only unmanaged marshal constructs can be made using these static constructors.

See Also

UnmanagedMarshal Class | UnmanagedMarshal Members | System.Reflection Namespace