Utf16StringMarshaller Clase

Definición

Importante

Esta API no es conforme a CLS.

Serializador para cadenas 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
Herencia
Utf16StringMarshaller
Atributos

Métodos

ConvertToManaged(UInt16*)

Convierte una cadena no administrada en una versión administrada.

ConvertToUnmanaged(String)

Convierte una cadena en una versión no administrada.

Free(UInt16*)

Libera la memoria de la cadena no administrada.

GetPinnableReference(String)

Obtiene una referencia anclable para la cadena especificada.

Se aplica a