C# 클래스 Nexus.Client.Games.Morrowind.PluginManagement.Boss.StringArrayManualMarshaler

Marshals string arrays to and from unmanaged code.
상속: IDisposable
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Disposes of the pointers that were allocated during marshalling.

MarshalManagedToNative ( string ManagedObj ) : IntPtr

Marshals the given string to a pointer.

MarshalNativeToManaged ( IntPtr pNativeData, Int32 p_intSize ) : string[]

Marshals the given pointer to a string.

StringArrayManualMarshaler ( string p_strEncoding ) : System

A simple constructor that initializes the object with the given values.

메소드 상세

Dispose() 공개 메소드

Disposes of the pointers that were allocated during marshalling.
public Dispose ( ) : void
리턴 void

MarshalManagedToNative() 공개 메소드

Marshals the given string to a pointer.
public MarshalManagedToNative ( string ManagedObj ) : IntPtr
ManagedObj string The string to marshal.
리턴 System.IntPtr

MarshalNativeToManaged() 공개 메소드

Marshals the given pointer to a string.
public MarshalNativeToManaged ( IntPtr pNativeData, Int32 p_intSize ) : string[]
pNativeData System.IntPtr The pointer to the data to marshal to a string.
p_intSize System.Int32 The length of the array to marshal.
리턴 string[]

StringArrayManualMarshaler() 공개 메소드

A simple constructor that initializes the object with the given values.
public StringArrayManualMarshaler ( string p_strEncoding ) : System
p_strEncoding string The encoding of the string to marshal.
리턴 System