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é

true si cette instance a été construite avec DependentHandle(Object, Object) et n’a pas encore été supprimée ; false sinon.

Remarques

Cette propriété est thread-safe.

S’applique à