ThreadLocal<T>.IsValueCreated Vlastnost

Definice

Získá, zda Value je inicializován v aktuálním vlákně.

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

Hodnota vlastnosti

Boolean

true if Value is initialized on the current thread; otherwise false.

Výjimky

Instance ThreadLocal<T> byla odstraněna.

Platí pro

Viz také