Utf16StringMarshaller Classe

Definição

Importante

Esta API não está em conformidade com CLS.

Um marshaller para cadeias de caracteres 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
Herança
Utf16StringMarshaller
Atributos

Métodos

ConvertToManaged(UInt16*)

Converte uma cadeia de caracteres não gerenciada em uma versão gerenciada.

ConvertToUnmanaged(String)

Converte uma cadeia de caracteres em uma versão não gerenciada.

Free(UInt16*)

Libera a memória da cadeia de caracteres não gerenciada.

GetPinnableReference(String)

Obtém uma referência fixável para a cadeia de caracteres especificada.

Aplica-se a