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
Default | 0 | All modes. A marshaller specified with this mode will be used if there's no specific marshaller for a given usage mode. |
ElementIn | 7 | Elements of arrays passed with |
ElementOut | 9 | Elements of arrays passed with |
ElementRef | 8 | Elements of arrays passed with |
ManagedToUnmanagedIn | 1 | By-value and |
ManagedToUnmanagedOut | 3 |
|
ManagedToUnmanagedRef | 2 |
|
UnmanagedToManagedIn | 4 | By-value and |
UnmanagedToManagedOut | 6 |
|
UnmanagedToManagedRef | 5 |
|
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将推出:在整个 2024 年,我们将逐步取消以“GitHub 问题”作为内容的反馈机制,并将其替换为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈