StringMarshalling Enum
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.
Specifies how strings should be marshalled for generated p/invokes
public enum class StringMarshalling
C#
public enum StringMarshalling
type StringMarshalling =
Public Enum StringMarshalling
- Inheritance
Name | Value | Description |
---|---|---|
Custom | 0 | Indicates a specific marshaller is supplied in StringMarshallingCustomType. |
Utf8 | 1 | Use the platform-provided UTF-8 marshaller. |
Utf16 | 2 | Use the platform-provided UTF-16 marshaller. |
Продукт | Версії |
---|---|
.NET | 7, 8, 9, 10 |
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.
Відгук про .NET
.NET – це проект із відкритим кодом. Виберіть посилання, щоб надати відгук: