IAnnotationDictionary.Add<T>(T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds an object to the dictionary by using the Type of the object for the key.
public:
generic <typename T>
void Add(T value);
public void Add<T> (T value);
abstract member Add : 'T -> unit
Public Sub Add(Of T) (value As T)
Type Parameters
- T
The type of the object to add. This is the key of the object in the dictionary.
Parameters
- value
- T
The object to add.
Exceptions
An object with the same type already exists in the dictionary.