Click or drag to resize

NullableWeakReferenceTarget Property

Gets the object (the target) referenced by the current NullableWeakReference object. Set will only accept null.

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public override Object Target { get; set; }
View Source

Return Value

Object
null if the object referenced by the current NullableWeakReference object has been garbage collected or cleared; otherwise, a reference to the object referenced by the current NullableWeakReference object.
Exceptions
ExceptionCondition
InvalidOperationExceptionIf setting this property to anything other than null
See Also