ValidateNotNullOrAttributeBase 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 or a string with white-space characters only, and is not an empty collection.
public abstract class ValidateNotNullOrAttributeBase : System.Management.Automation.NullValidationAttributeBase
type ValidateNotNullOrAttributeBase = class
inherit NullValidationAttributeBase
Public MustInherit Class ValidateNotNullOrAttributeBase
Inherits NullValidationAttributeBase
- Inheritance
-
ValidateNotNullOrAttributeBase
- Derived
Constructors
ValidateNotNullOrAttributeBase(Boolean) |
Validates that the parameters's argument is not null, is not an empty string or a string with white-space characters only, and is not an empty collection. |
Fields
_checkWhiteSpace |
Used to check the type of string validation to perform. |
Methods
IsArgumentCollection(Type, Boolean) |
Check if the argument type is a collection. (Inherited from NullValidationAttributeBase) |
Validate(Object, EngineIntrinsics) |
Validates that the parameters's argument is not null, is not an empty string, and is not an empty collection. If argument is a collection, each argument is verified. It can also validate that the parameters's argument is not a string that consists only of white-space characters. |