Utf8StringMarshaller クラス

定義

重要

この API は CLS 準拠ではありません。

UTF-8 文字列のマーシャラー。

public ref class Utf8StringMarshaller abstract sealed
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.String), System.Runtime.InteropServices.Marshalling.MarshalMode.Default, typeof(System.Runtime.InteropServices.Marshalling.Utf8StringMarshaller))]
[System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.String), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedIn, typeof(System.Runtime.InteropServices.Marshalling.Utf8StringMarshaller+ManagedToUnmanagedIn))]
public static class Utf8StringMarshaller
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.String), System.Runtime.InteropServices.Marshalling.MarshalMode.Default, typeof(System.Runtime.InteropServices.Marshalling.Utf8StringMarshaller))>]
[<System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.String), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedIn, typeof(System.Runtime.InteropServices.Marshalling.Utf8StringMarshaller+ManagedToUnmanagedIn))>]
type Utf8StringMarshaller = class
Public Class Utf8StringMarshaller
継承
Utf8StringMarshaller
属性

メソッド

ConvertToManaged(Byte*)

アンマネージド文字列をマネージド バージョンに変換します。

ConvertToUnmanaged(String)

文字列をアンマネージド バージョンに変換します。

Free(Byte*)

指定したアンマネージド文字列のメモリを解放します。

適用対象