編輯

共用方式為


DirectoryAttributeModificationCollection.OnValidate(Object) Method

Definition

The OnValidate(Object) method verifies that value is a DirectoryAttributeModification object.

protected:
 override void OnValidate(System::Object ^ value);
protected override void OnValidate (object value);
override this.OnValidate : obj -> unit
Protected Overrides Sub OnValidate (value As Object)

Parameters

value
Object

The object to evaluate.

Remarks

Exceptions

Exception Condition
ArgumentException value is a null reference (Nothing in Visual Basic), or value is not a DirectoryAttributeModification object.

Applies to