Compartilhar via


ScriptBlockAst.ScriptRequirements Property

Definition

All of the parsed information from any #requires in the script, or null if #requires was not used. This property is only set for the top level script block (where Parent) is null.

public:
 property System::Management::Automation::Language::ScriptRequirements ^ ScriptRequirements { System::Management::Automation::Language::ScriptRequirements ^ get(); };
public System.Management.Automation.Language.ScriptRequirements ScriptRequirements { get; }
member this.ScriptRequirements : System.Management.Automation.Language.ScriptRequirements
Public ReadOnly Property ScriptRequirements As ScriptRequirements

Property Value

Applies to