Utf16StringMarshaller Classe
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
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. |