Sdílet prostřednictvím


PSVariable.Options Property

Definition

Gets or sets the scope options on the variable.

public:
 virtual property System::Management::Automation::ScopedItemOptions Options { System::Management::Automation::ScopedItemOptions get(); void set(System::Management::Automation::ScopedItemOptions value); };
public virtual System.Management.Automation.ScopedItemOptions Options { get; set; }
member this.Options : System.Management.Automation.ScopedItemOptions with get, set
Public Overridable Property Options As ScopedItemOptions

Property Value

Exceptions

Upon set, if the variable is constant or if value contains the constant flag.

Applies to