Partilhar via


ScriptRequirements.RequiredAssemblies Property

Definition

The assemblies this script requires, specified like: #requires -Assembly path\to\foo.dll#requires -Assembly "System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" If no assemblies are required, this property is an empty collection.

public:
 property System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ RequiredAssemblies { System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ get(); };
public System.Collections.ObjectModel.ReadOnlyCollection<string> RequiredAssemblies { get; }
member this.RequiredAssemblies : System.Collections.ObjectModel.ReadOnlyCollection<string>
Public ReadOnly Property RequiredAssemblies As ReadOnlyCollection(Of String)

Property Value

Applies to