ScriptRequirements.RequiredPSEditions Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The PowerShell Edition this script requires, specified like:
#requires -PSEdition Desktop
If no PSEdition has been specified, this property is an empty collection.
public:
property System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ RequiredPSEditions { System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ get(); };
public System.Collections.ObjectModel.ReadOnlyCollection<string> RequiredPSEditions { get; }
member this.RequiredPSEditions : System.Collections.ObjectModel.ReadOnlyCollection<string>
Public ReadOnly Property RequiredPSEditions As ReadOnlyCollection(Of String)