Utf16StringMarshaller Classe

Definição

Importante

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

Marshaller para cordas 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

Name Description
ConvertToManaged(UInt16*)

Converte uma cadeia não gerida numa versão gerida.

ConvertToUnmanaged(String)

Converte uma string numa versão não gerida.

Free(UInt16*)

Liberta a memória para o fio não gerido.

GetPinnableReference(String)

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

Aplica-se a