Utf16StringMarshaller Classe

Definizione

Importante

Questa API non è conforme a CLS.

Marshaller per le stringhe 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
Ereditarietà
Utf16StringMarshaller
Attributi

Metodi

ConvertToManaged(UInt16*)

Converte una stringa non gestita in una versione gestita.

ConvertToUnmanaged(String)

Converte una stringa in una versione non gestita.

Free(UInt16*)

Libera la memoria per la stringa non gestita.

GetPinnableReference(String)

Ottiene un riferimento pinnable per la stringa specificata.

Si applica a