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 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應