IMarshalableManaged, Native Interface |
public interface IMarshalable<Managed, Native> where Managed : class, new() where Native : struct, new()
The IMarshalableManaged, Native type exposes the following members.
| Name | Description | |
|---|---|---|
| IsNativeBlittable | Gets if the native value type is blittable (that is, does not require marshaling by the runtime, e.g. has MarshalAs attributes). |
| Name | Description | |
|---|---|---|
| FromNative | Reads the unmanaged data from the native value. | |
| ToNative | Writes the managed data to the native value. |