This documentation is archived and is not being maintained.

SubclassTypeValidator.Validate Method

Determines whether the value of an object is valid.

Namespace: System.Configuration
Assembly: System.Configuration (in system.configuration.dll)

public override void Validate (
	Object value
)
public void Validate (
	Object value
)
public override function Validate (
	value : Object
)
Not applicable.

Parameters

value

The object value.

Exception typeCondition

ArgumentException

value is not of a Type that can be derived from baseClass as defined in the constructor.

When an instance of the SubclassTypeValidator class is created, the base class is provided and used as evaluation criteria. The object to validate is passed as a parameter of the Validate method. This method performs the validation check between the base class and the parameter object.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: