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 เป็นโครงการโอเพนซอร์ส เลือกลิงก์เพื่อให้คำติชม: