Share via


AllowEmptyCollectionAttribute Class

Definition

Allows an empty collection as the argument to a mandatory collection parameter.

public ref class AllowEmptyCollectionAttribute sealed : System::Management::Automation::Internal::CmdletMetadataAttribute
[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property)]
public sealed class AllowEmptyCollectionAttribute : System.Management.Automation.Internal.CmdletMetadataAttribute
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property)>]
type AllowEmptyCollectionAttribute = class
    inherit CmdletMetadataAttribute
Public NotInheritable Class AllowEmptyCollectionAttribute
Inherits CmdletMetadataAttribute
Inheritance
AllowEmptyCollectionAttribute
Attributes

Constructors

AllowEmptyCollectionAttribute()

Initializes a new instance of the AllowEmptyCollectionAttribute class.

Applies to