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
handleWeakRefOwnedHandle
Properties
Handle
public WeakRefOwnedHandle Handle { get; }
Property Value
Methods
Equals(WeakRef?)
public bool Equals(WeakRef? other)
Parameters
otherWeakRef
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
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
objectObject