Table of Contents

Class VariantBuilder

Namespace
GLib.Internal
Assembly
GLib-2.0.dll
public class VariantBuilder
Inheritance
VariantBuilder
Inherited Members

Methods

AddValue(VariantBuilderHandle, VariantHandle)

Calls native method g_variant_builder_add_value. Version: 2.24

[Version("2.24")]
public static extern void AddValue(VariantBuilderHandle builder, VariantHandle value)

Parameters

builder VariantBuilderHandle

Transfer ownership: None Nullable: False

value VariantHandle

Transfer ownership: None Nullable: False

Clear(VariantBuilderHandle)

Calls native method g_variant_builder_clear. Version: 2.24

[Version("2.24")]
public static extern void Clear(VariantBuilderHandle builder)

Parameters

builder VariantBuilderHandle

Transfer ownership: None Nullable: False

Close(VariantBuilderHandle)

Calls native method g_variant_builder_close. Version: 2.24

[Version("2.24")]
public static extern void Close(VariantBuilderHandle builder)

Parameters

builder VariantBuilderHandle

Transfer ownership: None Nullable: False

End(VariantBuilderHandle)

Calls native method g_variant_builder_end. Version: 2.24

[Version("2.24")]
public static extern VariantUnownedHandle End(VariantBuilderHandle builder)

Parameters

builder VariantBuilderHandle

Transfer ownership: None Nullable: False

Returns

VariantUnownedHandle

Transfer ownership: None Nullable: False

GetGType()

Calls native function g_variant_builder_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

Init(VariantBuilderHandle, VariantTypeHandle)

Calls native method g_variant_builder_init. Version: 2.24

[Version("2.24")]
public static extern void Init(VariantBuilderHandle builder, VariantTypeHandle type)

Parameters

builder VariantBuilderHandle

Transfer ownership: None Nullable: False

type VariantTypeHandle

Transfer ownership: None Nullable: False

New(VariantTypeHandle)

Calls native constructor g_variant_builder_new. Version: 2.24

[Version("2.24")]
public static extern VariantBuilderOwnedHandle New(VariantTypeHandle type)

Parameters

type VariantTypeHandle

Transfer ownership: None Nullable: False

Returns

VariantBuilderOwnedHandle

Transfer ownership: Full Nullable: False

Open(VariantBuilderHandle, VariantTypeHandle)

Calls native method g_variant_builder_open. Version: 2.24

[Version("2.24")]
public static extern void Open(VariantBuilderHandle builder, VariantTypeHandle type)

Parameters

builder VariantBuilderHandle

Transfer ownership: None Nullable: False

type VariantTypeHandle

Transfer ownership: None Nullable: False

Ref(VariantBuilderHandle)

Calls native method g_variant_builder_ref. Version: 2.24

[Version("2.24")]
public static extern VariantBuilderOwnedHandle Ref(VariantBuilderHandle builder)

Parameters

builder VariantBuilderHandle

Transfer ownership: None Nullable: False

Returns

VariantBuilderOwnedHandle

Transfer ownership: Full Nullable: False

Unref(VariantBuilderUnownedHandle)

Calls native method g_variant_builder_unref. Version: 2.24

[Version("2.24")]
public static extern void Unref(VariantBuilderUnownedHandle builder)

Parameters

builder VariantBuilderUnownedHandle

Transfer ownership: Full Nullable: False