Share via


AllowEmptyStringAttribute Class

Definition

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

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

Constructors

AllowEmptyStringAttribute()

Initializes a new instance of the AllowEmptyStringAttribute class.

Applies to