OptionalDictionary<TKey, TValue>
OptionalDictionary()
OptionalDictionary(OptionalProperty<IDictionary<TKey, TValue>>)
OptionalDictionary(OptionalProperty<IReadOnlyDictionary<TKey, TValue>>)
Count
IsReadOnly
IsUndefined
Keys
this[TKey]
Values
Add(TKey, TValue)
Add(KeyValuePair<TKey, TValue>)
Clear()
Contains(KeyValuePair<TKey, TValue>)
ContainsKey(TKey)
CopyTo(KeyValuePair<TKey, TValue>[], Int32)
GetEnumerator()
Remove(TKey)
Remove(KeyValuePair<TKey, TValue>)
TryGetValue(TKey, TValue)
net9.0
namespace System.Net.ClientModel.Internal
{
[DefaultMember("Item")]
public class OptionalDictionary<TKey, TValue> : ICollection<KeyValuePair<TKey, TValue>>, IDictionary<TKey, TValue>, IEnumerable, IEnumerable<KeyValuePair<TKey, TValue>>, IReadOnlyCollection<KeyValuePair<TKey, TValue>>, IReadOnlyDictionary<TKey, TValue>
where TKey, notnull
{
public bool IsUndefined { get; }
}
}
| .NET | 5.06.07.08.09.010.011.0 |
|---|---|
| .NET Core | 2.02.12.23.03.1 |
| .NET Framework | 4.6.14.6.24.74.7.14.7.24.84.8.1 |
| .NET Standard | 2.02.1 |
Information specific to net9.0 | |
| Assembly | System.Net.ClientModel , Version=1.0.0.0, PublicKeyToken=92742159e12e44c8 |
| Referencing | Your project needs a package reference to |
| Package | System.Net.ClientModel (1.0.0-beta.1) net6.0 |
| Preview | This API is contained in a prerelease package. |
| Platform Restrictions | The property getter is supported on all platforms. |
- Built-in API
- Package-provided API