TextElementCollection<TextElementType>::Add Method (TextElementType)
.NET Framework (current version)
Appends a specified item to the collection.
Assembly: PresentationFramework (in PresentationFramework.dll)
Parameters
- item
-
Type:
TextElementType
An item to append to the collection.
Implements
ICollection<T>::Add(T)| Exception | Condition |
|---|---|
| ArgumentException | Raised when item already belongs to a collection. |
| ArgumentNullException | Raised when item is null. |
.NET Framework
Available since 3.0
Available since 3.0
Show: