TextElementCollection<'TextElementType>.AddRange Method (IEnumerable)

 
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.

Appends a specified range of items to the collection.

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

member AddRange : 
        range:IEnumerable -> unit

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: