Table of Contents

Class ValueArray

Namespace
GObject.Internal
Assembly
GObject-2.0.dll
public class ValueArray
Inheritance
ValueArray
Inherited Members

Methods

Append(ValueArrayHandle, ValueHandle)

Calls native method g_value_array_append.

public static extern ValueArrayUnownedHandle Append(ValueArrayHandle valueArray, ValueHandle value)

Parameters

valueArray ValueArrayHandle

Transfer ownership: None Nullable: False

value ValueHandle

Transfer ownership: None Nullable: True

Returns

ValueArrayUnownedHandle

Transfer ownership: None Nullable: False

Copy(ValueArrayHandle)

Calls native method g_value_array_copy.

public static extern ValueArrayOwnedHandle Copy(ValueArrayHandle valueArray)

Parameters

valueArray ValueArrayHandle

Transfer ownership: None Nullable: False

Returns

ValueArrayOwnedHandle

Transfer ownership: Full Nullable: False

Free(ValueArrayHandle)

Calls native method g_value_array_free.

public static extern void Free(ValueArrayHandle valueArray)

Parameters

valueArray ValueArrayHandle

Transfer ownership: None Nullable: False

GetGType()

Calls native function g_value_array_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetNth(ValueArrayHandle, uint)

Calls native method g_value_array_get_nth.

public static extern ValueUnownedHandle GetNth(ValueArrayHandle valueArray, uint index)

Parameters

valueArray ValueArrayHandle

Transfer ownership: None Nullable: False

index uint

Transfer ownership: None Nullable: False

Returns

ValueUnownedHandle

Transfer ownership: None Nullable: False

Insert(ValueArrayHandle, uint, ValueHandle)

Calls native method g_value_array_insert.

public static extern ValueArrayUnownedHandle Insert(ValueArrayHandle valueArray, uint index, ValueHandle value)

Parameters

valueArray ValueArrayHandle

Transfer ownership: None Nullable: False

index uint

Transfer ownership: None Nullable: False

value ValueHandle

Transfer ownership: None Nullable: True

Returns

ValueArrayUnownedHandle

Transfer ownership: None Nullable: False

New(uint)

Calls native constructor g_value_array_new.

public static extern ValueArrayOwnedHandle New(uint nPrealloced)

Parameters

nPrealloced uint

Transfer ownership: None Nullable: False

Returns

ValueArrayOwnedHandle

Transfer ownership: Full Nullable: False

Prepend(ValueArrayHandle, ValueHandle)

Calls native method g_value_array_prepend.

public static extern ValueArrayUnownedHandle Prepend(ValueArrayHandle valueArray, ValueHandle value)

Parameters

valueArray ValueArrayHandle

Transfer ownership: None Nullable: False

value ValueHandle

Transfer ownership: None Nullable: True

Returns

ValueArrayUnownedHandle

Transfer ownership: None Nullable: False

Remove(ValueArrayHandle, uint)

Calls native method g_value_array_remove.

public static extern ValueArrayUnownedHandle Remove(ValueArrayHandle valueArray, uint index)

Parameters

valueArray ValueArrayHandle

Transfer ownership: None Nullable: False

index uint

Transfer ownership: None Nullable: False

Returns

ValueArrayUnownedHandle

Transfer ownership: None Nullable: False

Sort(ValueArrayHandle, CompareDataFunc, IntPtr)

Calls native method g_value_array_sort_with_data.

public static extern ValueArrayUnownedHandle Sort(ValueArrayHandle valueArray, CompareDataFunc compareFunc, IntPtr userData)

Parameters

valueArray ValueArrayHandle

Transfer ownership: None Nullable: False

compareFunc CompareDataFunc

Transfer ownership: None Nullable: False

userData IntPtr

Transfer ownership: None Nullable: True

Returns

ValueArrayUnownedHandle

Transfer ownership: None Nullable: False

Sort(ValueArrayHandle, CompareFunc)

Calls native method g_value_array_sort.

public static extern ValueArrayUnownedHandle Sort(ValueArrayHandle valueArray, CompareFunc compareFunc)

Parameters

valueArray ValueArrayHandle

Transfer ownership: None Nullable: False

compareFunc CompareFunc

Transfer ownership: None Nullable: False

Returns

ValueArrayUnownedHandle

Transfer ownership: None Nullable: False