FunctionInfo.Options Property

Definition

Gets or sets the scope options for the function.

C++
public:
 property System::Management::Automation::ScopedItemOptions Options { System::Management::Automation::ScopedItemOptions get(); void set(System::Management::Automation::ScopedItemOptions value); };

Property Value

Exceptions

If the trying to set a function that is constant or if the value trying to be set is ScopedItemOptions.Constant

Applies to

Производ Верзије
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0