共用方式為


AliasInfo.Options Property

Definition

Gets or sets the scope options for the alias.

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

Property Value

Exceptions

If the trying to set an alias that is constant or if the value trying to be set is ScopedItemOptions.Constant

Applies to