Utf16StringMarshaller Classe

Définition

Important

Cette API n’est pas conforme CLS.

Marshaleur pour les chaînes UTF-16.

public ref class Utf16StringMarshaller abstract sealed
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.String), System.Runtime.InteropServices.Marshalling.MarshalMode.Default, typeof(System.Runtime.InteropServices.Marshalling.Utf16StringMarshaller))]
public static class Utf16StringMarshaller
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.String), System.Runtime.InteropServices.Marshalling.MarshalMode.Default, typeof(System.Runtime.InteropServices.Marshalling.Utf16StringMarshaller))>]
type Utf16StringMarshaller = class
Public Class Utf16StringMarshaller
Héritage
Utf16StringMarshaller
Attributs

Méthodes

ConvertToManaged(UInt16*)

Convertit une chaîne non managée en version managée.

ConvertToUnmanaged(String)

Convertit une chaîne en version non managée.

Free(UInt16*)

Libère la mémoire de la chaîne non managée.

GetPinnableReference(String)

Obtient une référence épinglée pour la chaîne spécifiée.

S’applique à