Class ValueArray
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
ValueArrayHandleTransfer ownership: None Nullable: False
value
ValueHandleTransfer 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
ValueArrayHandleTransfer 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
ValueArrayHandleTransfer 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
ValueArrayHandleTransfer ownership: None Nullable: False
index
uintTransfer 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
ValueArrayHandleTransfer ownership: None Nullable: False
index
uintTransfer ownership: None Nullable: False
value
ValueHandleTransfer 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
uintTransfer 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
ValueArrayHandleTransfer ownership: None Nullable: False
value
ValueHandleTransfer 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
ValueArrayHandleTransfer ownership: None Nullable: False
index
uintTransfer 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
ValueArrayHandleTransfer ownership: None Nullable: False
compareFunc
CompareDataFuncTransfer ownership: None Nullable: False
userData
IntPtrTransfer 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
ValueArrayHandleTransfer ownership: None Nullable: False
compareFunc
CompareFuncTransfer ownership: None Nullable: False
Returns
- ValueArrayUnownedHandle
Transfer ownership: None Nullable: False