ValidateNotNullAttribute Class

Definition

Validates that the parameters's argument is not null

public ref class ValidateNotNullAttribute sealed : System::Management::Automation::NullValidationAttributeBase
[System.AttributeUsage(System.AttributeTargets.Property | System.AttributeTargets.Field)]
public sealed class ValidateNotNullAttribute : System.Management.Automation.NullValidationAttributeBase
type ValidateNotNullAttribute = class
    inherit NullValidationAttributeBase
Public NotInheritable Class ValidateNotNullAttribute
Inherits NullValidationAttributeBase
Inheritance
Attributes

Constructors

ValidateNotNullAttribute()

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)

Applies to