Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
StringMarshalling Enum
Definition
- Namespace:
- System.Runtime.InteropServices
- Assembly:
- System.Runtime.InteropServices.dll
- Source:
- StringMarshalling.cs
- Source:
- StringMarshalling.cs
- Source:
- MetadataUpdater.cs
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
public enum StringMarshalling
type StringMarshalling =
Public Enum StringMarshalling
- Inheritance
Fields
| 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. |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Feedback
Was this page helpful?
