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!

FieldBuilder.SetMarshal

Describes the native marshaling of the field.

[Visual Basic]
Public Sub SetMarshal( _
   ByVal unmanagedMarshal As UnmanagedMarshal _
)
[C#]
public void SetMarshal(
   UnmanagedMarshal unmanagedMarshal
);
[C++]
public: void SetMarshal(
   UnmanagedMarshal* unmanagedMarshal
);
[JScript]
public function SetMarshal(
   unmanagedMarshal : UnmanagedMarshal
);

Parameters

unmanagedMarshal
A descriptor specifying the native marshalling of this field.

Exceptions

Exception Type Condition
InvalidOperationException if the containing type has been created using TypeBuilder.CreateType().

See Also

FieldBuilder Class | FieldBuilder Members | System.Reflection.Emit Namespace