Share via


DependentHandle.IsAllocated Propriété

Définition

Obtient une valeur indiquant si cette instance a été construite avec DependentHandle(Object, Object) et n’a pas encore été supprimée.

public:
 property bool IsAllocated { bool get(); };
public bool IsAllocated { get; }
member this.IsAllocated : bool
Public ReadOnly Property IsAllocated As Boolean

Valeur de propriété

truesi ce instance a été construit avec DependentHandle(Object, Object) et n’a pas encore été éliminé ; false sinon.

Remarques

Cette propriété est thread-safe.

S’applique à