ScriptRequirements.RequiredAssemblies 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 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)