ReadOnlyDictionary<TKey, TValue> Constructor
Initializes a new instance of ReadOnlyDictionary.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Sub New ( _
dictionary As IDictionary(Of TKey, TValue) _
)
public ReadOnlyDictionary(
IDictionary<TKey, TValue> dictionary
)
public:
ReadOnlyDictionary(
IDictionary<TKey, TValue>^ dictionary
)
new :
dictionary:IDictionary<'TKey, 'TValue> -> ReadOnlyDictionary
public function ReadOnlyDictionary(
dictionary : IDictionary<TKey, TValue>
)
Parameters
dictionary
Type: System.Collections.Generic.IDictionary<TKey, TValue>The IDictionary object from which to create a read-only instance.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.