Utf16StringMarshaller Sınıf
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Önemli
Bu API, CLS uyumlu değildir.
UTF-16 dizeleri için bir marshaller.
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
- Devralma
-
Utf16StringMarshaller
- Öznitelikler
Yöntemler
ConvertToManaged(UInt16*) |
Yönetilmeyen bir dizeyi yönetilen sürüme dönüştürür. |
ConvertToUnmanaged(String) |
Dizeyi yönetilmeyen bir sürüme dönüştürür. |
Free(UInt16*) |
Yönetilmeyen dize için belleği serbest bırakır. |
GetPinnableReference(String) |
Belirtilen dize için sabitlenebilir bir başvuru alır. |
Şunlara uygulanır
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.