ValidateNotNullOrEmptyAttribute Class

Validates that the argument of an optional parameter is not null, an empty string, or an empty collection. This class cannot be inherited.


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)

'Usage
Dim instance As ValidateNotNullOrEmptyAttribute

[AttributeUsageAttribute(AttributeTargets.Property|AttributeTargets.Field)] 
public sealed class ValidateNotNullOrEmptyAttribute : ValidateArgumentsAttribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Property|AttributeTargets.Field) */ 
public final class ValidateNotNullOrEmptyAttribute extends ValidateArgumentsAttribute
AttributeUsageAttribute(AttributeTargets.Property|AttributeTargets.Field) 
public final class ValidateNotNullOrEmptyAttribute extends ValidateArgumentsAttribute

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms


Show:
© 2014 Microsoft