Utf16StringMarshaller Třída

Definice

Důležité

Toto rozhraní API neodpovídá specifikaci CLS.

Marshaller pro řetězce 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
Dědičnost
Utf16StringMarshaller
Atributy

Metody

ConvertToManaged(UInt16*)

Převede nespravovaný řetězec na spravovanou verzi.

ConvertToUnmanaged(String)

Převede řetězec na nespravovanou verzi.

Free(UInt16*)

Uvolní paměť pro nespravovaný řetězec.

GetPinnableReference(String)

Získá připnutelný odkaz pro zadaný řetězec.

Platí pro