Прочитај на енглеском Уреди

Делите путем


DependentHandle.IsAllocated Property

Definition

Gets a value indicating whether this instance was constructed with DependentHandle(Object, Object) and has not yet been disposed.

C#
public bool IsAllocated { get; }

Property Value

true if this instance was constructed with DependentHandle(Object, Object) and has not yet been disposed; false otherwise.

Remarks

This property is thread-safe.

Applies to

Производ Верзије
.NET 6, 7, 8, 9, 10