System.Reflection.Emit.MethodBuilder.SetMarshal Method

Sets marshaling information for the return type of this method.

Syntax

[System.Obsolete("An alternate API is available: Emit the MarshalAs custom attribute instead.")]
public void SetMarshal (UnmanagedMarshal unmanagedMarshal)

Parameters

unmanagedMarshal
Marshaling information for the return type of this method.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Reflection.Emit
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0