Values Property
Collapse the table of content
Expand the table of content

ThreadLocal<T>.Values Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets a list for all of the values currently stored by all of the threads that have accessed this instance.

Namespace:  System.Threading
Assembly:  mscorlib (in mscorlib.dll)

public IList<T> Values { get; }

Property Value

Type: System.Collections.Generic.IList<T>
A list for all of the values currently stored by all of the threads that have accessed this instance.

ExceptionCondition
ObjectDisposedException

The ThreadLocal<T> instance has been disposed.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft