PSDefaultValueAttribute.Value Property

Definition

Specify the default value of a command parameter. The PowerShell engine does not use this value in any way, it exists for other tools that want to reflect on cmdlets.

public:
 property System::Object ^ Value { System::Object ^ get(); void set(System::Object ^ value); };
public:
 property Platform::Object ^ Value { Platform::Object ^ get(); void set(Platform::Object ^ value); };
public object Value { get; set; }
member this.Value : obj with get, set
Public Property Value As Object

Property Value

Applies to