ValidationErrorCollection.AddRange Method (IEnumerable<ValidationError>)

 
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.

Copies the collection of enumerable elements to the end of the collection.

Namespace:   System.Workflow.ComponentModel.Compiler
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public void AddRange(
	IEnumerable<ValidationError> value
)

Parameters

value
Type: System.Collections.Generic.IEnumerable<ValidationError>

A collection of ValidationError elements to add to the end of the ValidationErrorCollection collection.

Exception Condition
ArgumentNullException

value is null.

.NET Framework
Available since 3.0
Return to top
Show: