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.Property | System.AttributeTargets.Field)]
[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property)]
public sealed class AllowEmptyStringAttribute : System.Management.Automation.Internal.CmdletMetadataAttribute
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