Utf16StringMarshaller Klasa

Definicja

Ważne

Ten interfejs API nie jest zgodny ze specyfikacją CLS.

Marshaller ciągów 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
Dziedziczenie
Utf16StringMarshaller
Atrybuty

Metody

ConvertToManaged(UInt16*)

Konwertuje niezarządzany ciąg na wersję zarządzaną.

ConvertToUnmanaged(String)

Konwertuje ciąg na wersję niezarządzaną.

Free(UInt16*)

Zwalnia pamięć dla niezarządzanych ciągów.

GetPinnableReference(String)

Pobiera przypięte odwołanie dla określonego ciągu.

Dotyczy