FreezableCollection<T>.Add Method (T)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public void Add(
	T value
)

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: