Click or drag to resize
ReadOnlyDictionaryTKey, TValueItem Property
获取与指定的键相关联的值。

Namespace: X3Platform.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public TValue this[
	TKey key
] { get; }

Parameters

key
Type: TKey
要获取的值的键。

Return Value

Type: TValue
与指定的键相关联的值。如果找不到指定的键,get操作便会引发KeyNotFoundException异常。
See Also