Utf8StringMarshaller Classe

Definizione

Importante

Questa API non è conforme a CLS.

Marshaller per stringhe UTF-8.

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
Ereditarietà
Utf8StringMarshaller
Attributi

Metodi

ConvertToManaged(Byte*)

Converte una stringa non gestita in una versione gestita.

ConvertToUnmanaged(String)

Converte una stringa in una versione non gestita.

Free(Byte*)

Liberare la memoria per una stringa non gestita specificata.

Si applica a