Szerkesztés

Megosztás a következőn keresztül:


DirectoryAttributeCollection.OnValidate(Object) Method

Definition

The OnValidate(Object) method verifies that value is a DirectoryAttribute object or specifies an add operation.

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.

Exceptions

This exception can occur under one of the following conditions:

  • value is a null reference (Nothing in Visual Basic).

  • value is not a DirectoryAttribute object.

Applies to