Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft