AnsiStringMarshaller クラス

定義

重要

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

ANSI 文字列のマーシャラー。

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

メソッド

ConvertToManaged(Byte*)

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

ConvertToUnmanaged(String)

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

Free(Byte*)

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

適用対象