Utf8StringMarshaller Klasse

Definition

Wichtig

Diese API ist nicht CLS-kompatibel.

Ein Marshaller für UTF-8-Zeichenfolgen.

public ref class Utf8StringMarshaller abstract sealed
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.String), System.Runtime.InteropServices.Marshalling.MarshalMode.Default, typeof(System.Runtime.InteropServices.Marshalling.Utf8StringMarshaller))]
[System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.String), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedIn, typeof(System.Runtime.InteropServices.Marshalling.Utf8StringMarshaller+ManagedToUnmanagedIn))]
public static class Utf8StringMarshaller
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.String), System.Runtime.InteropServices.Marshalling.MarshalMode.Default, typeof(System.Runtime.InteropServices.Marshalling.Utf8StringMarshaller))>]
[<System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.String), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedIn, typeof(System.Runtime.InteropServices.Marshalling.Utf8StringMarshaller+ManagedToUnmanagedIn))>]
type Utf8StringMarshaller = class
Public Class Utf8StringMarshaller
Vererbung
Utf8StringMarshaller
Attribute

Methoden

ConvertToManaged(Byte*)

Konvertiert eine nicht verwaltete Zeichenfolge in eine verwaltete Version.

ConvertToUnmanaged(String)

Konvertiert eine Zeichenfolge in eine nicht verwaltete Version.

Free(Byte*)

Geben Sie den Arbeitsspeicher für eine angegebene nicht verwaltete Zeichenfolge frei.

Gilt für: