DirectoryAttributeModificationCollection.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 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
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.