mscorlib(4.0.0.0) API with additions
System.Collections.DictionaryEntry Struct Reference

Defines a dictionary key/value pair that can be set or retrieved. More...

Public Member Functions

 DictionaryEntry (object key, object value)
 Initializes an instance of the T:System.Collections.DictionaryEntry type with the specified key and value. More...
 

Properties

object Key [get, set]
 Gets or sets the key in the key/value pair. More...
 
object Value [get, set]
 Gets or sets the value in the key/value pair. More...
 

Detailed Description

Defines a dictionary key/value pair that can be set or retrieved.

Definition at line 9 of file DictionaryEntry.cs.

Constructor & Destructor Documentation

◆ DictionaryEntry()

System.Collections.DictionaryEntry.DictionaryEntry ( object  key,
object  value 
)

Initializes an instance of the T:System.Collections.DictionaryEntry type with the specified key and value.

Parameters
keyThe object defined in each key/value pair.
valueThe definition associated with key .
Exceptions
T:System.ArgumentNullExceptionkey is null and the .NET Framework version is 1.0 or 1.1.

Definition at line 55 of file DictionaryEntry.cs.

Property Documentation

◆ Key

object System.Collections.DictionaryEntry.Key
getset

Gets or sets the key in the key/value pair.

Returns
The key in the key/value pair.

Definition at line 19 of file DictionaryEntry.cs.

◆ Value

object System.Collections.DictionaryEntry.Value
getset

Gets or sets the value in the key/value pair.

Returns
The value in the key/value pair.

Definition at line 36 of file DictionaryEntry.cs.


The documentation for this struct was generated from the following file: