Table of Contents

Class WeakRef

Namespace
GObject
Assembly
GObject-2.0.dll
public sealed class WeakRef
Inheritance
WeakRef
Inherited Members

Constructors

WeakRef()

public WeakRef()

WeakRef(WeakRefOwnedHandle)

public WeakRef(WeakRefOwnedHandle handle)

Parameters

handle WeakRefOwnedHandle

Properties

Handle

public WeakRefOwnedHandle Handle { get; }

Property Value

WeakRefOwnedHandle

Methods

Equals(WeakRef?)

public bool Equals(WeakRef? other)

Parameters

other WeakRef

Returns

bool

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

Set(Object?)

[Version("2.32")]
public void Set(Object? @object)

Parameters

object Object