Dela via


AllowNullAttribute Class

Definition

Allows a NULL as the argument to a mandatory parameter.

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

Constructors

AllowNullAttribute()

Initializes a new instance of the AllowNullAttribute class.

Applies to