ValidateNotNullOrEmptyAttribute Class
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.
Validates that the parameters's argument is not null, is not an empty string, and is not an empty collection.
public ref class ValidateNotNullOrEmptyAttribute sealed : System::Management::Automation::NullValidationAttributeBase
[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property)]
public sealed class ValidateNotNullOrEmptyAttribute : System.Management.Automation.ValidateArgumentsAttribute
[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property)]
public sealed class ValidateNotNullOrEmptyAttribute : System.Management.Automation.NullValidationAttributeBase
type ValidateNotNullOrEmptyAttribute = class
inherit ValidateArgumentsAttribute
type ValidateNotNullOrEmptyAttribute = class
inherit NullValidationAttributeBase
Public NotInheritable Class ValidateNotNullOrEmptyAttribute
Inherits ValidateArgumentsAttribute
Public NotInheritable Class ValidateNotNullOrEmptyAttribute
Inherits NullValidationAttributeBase
- Inheritance
- Inheritance
-
ValidateNotNullOrEmptyAttribute
- Attributes
Constructors
| ValidateNotNullOrEmptyAttribute() |
Methods
| IsArgumentCollection(Type, Boolean) |
Check if the argument type is a collection. (Inherited from NullValidationAttributeBase) |
| Validate(Object, EngineIntrinsics) |
Overridden by subclasses to implement the validation of the parameter arguments (Inherited from ValidateArgumentsAttribute) |