SyncDictionaryTKey, TValueItem Property |
获取与指定的键相关联的值。
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic TValue this[
TKey key
] { get; set; }
public:
virtual property TValue default[TKey key] {
TValue get (TKey key) sealed;
void set (TKey key, TValue value) sealed;
}
Parameters
- key
- Type: TKey
要获取的值的键。
Return Value
Type:
TValue与指定的键相关联的值。如果找不到指定的键,get操作便会引发
KeyNotFoundException异常。
Implements
IDictionaryTKey, TValueItemTKey
See Also