TextElementCollection<TextElementType>.AddRange Method (IEnumerable)

 

Appends a specified range of items to the collection.

Namespace:   System.Windows.Documents
Assembly:  PresentationFramework (in PresentationFramework.dll)

public void AddRange(
	IEnumerable range
)

Parameters

range
Type: System.Collections.IEnumerable

An object that implements the IEnumerable interface, and that specifies a range of items to add to the collection.

Exception Condition
ArgumentException

Raised when range includes any null items.

ArgumentNullException

Raised when range is null.

.NET Framework
Available since 3.0
Return to top
Show: