DirectoryAttributeCollection.OnValidate(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.