Initializes a new instance of the Class with
the specified key/value, With its initial capacity specified.
Declaration Syntax
C# |
public ObservableDictionary( int capacity )
Parameters
- capacity ( Int32)
- Initial size of dictionary
Examples
Copy | |
---|---|
// initialize a new ObservableDictionary named testDict with a string as the key and an int as the value, // initially allocated room for 10 entries. public ObservableDictionary< string, int> testDict = new ObservableDictionary< string, int>( 10); |
See Also
ObservableDictionary
Assembly: OpenMetaverse(Module: OpenMetaverse.dll) Version: 0.9.3.3318 (0.9.3.3318)