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.

ValidateEnumeratedArgumentsAttribute.Validate Method (Object, EngineIntrinsics)


Updated: April 27, 2016

Applies To: Windows PowerShell

Validates the specified enumerated arguments by calling ValidateArgumentsAttribute.Validate(Object, EngineIntrinsics) for each argument.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

protected override sealed void Validate(
	object arguments,
	EngineIntrinsics engineIntrinsics


Type: System.Object

The object that contains the arguments.

Type: System.Management.Automation.EngineIntrinsics

An EngineIntrinsics object that exposes classes for the current instance of the runtime.

Exception Condition

A validation failure has occurred.

This method is overridden by all argument validation attribute classes that are provided by Windows PowerShell and should also be overridden by any custom attribute derived from this class.

Return to top

Community Additions