StringMarshalConvention enum

Convention for marshalling P/Invoke function strings.

Inheritance

Constructors

StringMarshalConvention()
const

Values

notSpecified → const StringMarshalConvention

Reserved.

ansi → const StringMarshalConvention

Marshal strings as multiple-byte character strings.

unicode → const StringMarshalConvention

Marshal strings as Unicode 2-byte characters.

auto → const StringMarshalConvention

Automatically marshal strings appropriately for the target operating system. The default is Unicode on Windows NT, Windows 2000, Windows XP, and the Windows Server 2003 family; the default is ANSI on Windows 98 and Windows Me.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<StringMarshalConvention>
A constant List of the values in this enum, in order of their declaration.