Udostępnij za pośrednictwem


FieldDescription.DefaultValue Property

Definition

Gets and sets the default value, if any, for the implementation of Prompt(String, String, Collection<FieldDescription>) to pre-populate its UI with. This is a PSObject instance so that the value can be serialized, converted, manipulated like any pipeline object.

public:
 property System::Management::Automation::PSObject ^ DefaultValue { System::Management::Automation::PSObject ^ get(); void set(System::Management::Automation::PSObject ^ value); };
public System.Management.Automation.PSObject DefaultValue { get; set; }
member this.DefaultValue : System.Management.Automation.PSObject with get, set
Public Property DefaultValue As PSObject

Property Value

Remarks

It is up to the implementer of Prompt(String, String, Collection<FieldDescription>) to decide if it can make use of the object in its presentation of the fields prompt.

Applies to