C# Класс Nexus.Client.Games.Morrowind.PluginManagement.Boss.StringArrayManualMarshaler

Marshals string arrays to and from unmanaged code.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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