DependentHandle.Target Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the target object instance for the current handle. The target can only be set to a null
value once the DependentHandle instance has been created. Doing so will cause Dependent to start returning null
as well, and to become eligible for collection even if the previous target is still alive.
public:
property System::Object ^ Target { System::Object ^ get(); void set(System::Object ^ value); };
public object? Target { get; set; }
member this.Target : obj with get, set
Public Property Target As Object
The target object instance for the current handle.
IsAllocated is false
or the input value is not null
.
This property is thread-safe.
Производ | Верзије |
---|---|
.NET | 6, 7, 8, 9, 10 |
.NET повратне информације
.NET је пројекат отвореног кода. Изаберите везу да бисте обезбедили повратне информације: