MarshalMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the different marshalling modes.
public enum class MarshalMode
public enum MarshalMode
type MarshalMode =
Public Enum MarshalMode
- Inheritance
Fields
Name | Value | Description |
---|---|---|
Default | 0 | All modes. A marshaller specified with this mode will be used if there's no specific marshaller for a given usage mode. |
ManagedToUnmanagedIn | 1 | By-value and |
ManagedToUnmanagedRef | 2 |
|
ManagedToUnmanagedOut | 3 |
|
UnmanagedToManagedIn | 4 | By-value and |
UnmanagedToManagedRef | 5 |
|
UnmanagedToManagedOut | 6 |
|
ElementIn | 7 | Elements of arrays passed with |
ElementRef | 8 | Elements of arrays passed with |
ElementOut | 9 | Elements of arrays passed with |