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
Clear()
[Version("2.32")]
public void Clear()
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
Get()
[Version("2.32")]
public Object Get()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
Init(Object?)
[Version("2.32")]
public void Init(Object? @object)
Parameters
objectObject
Set(Object?)
[Version("2.32")]
public void Set(Object? @object)
Parameters
objectObject