FreezableCollection<T>::Add Method (T)

 

Adds the specified object to the end of the FreezableCollection<T>.

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

public:
virtual void Add(
	T value
) sealed

Parameters

value
Type: T

The object to be added to the end of the FreezableCollection<T>. This value cannot be null.

Exception Condition
ArgumentException

value is null.

InvalidOperationException

The FreezableCollection<T> is frozen (its IsFrozen property is true).

.NET Framework
Available since 3.0
Return to top
Show: