ModuleSpecification ModuleSpecification ModuleSpecification ModuleSpecification ModuleSpecification ModuleSpecification Constructors

Definition

Overloads

ModuleSpecification() ModuleSpecification() ModuleSpecification() ModuleSpecification() ModuleSpecification()

Default constructor

ModuleSpecification(Hashtable) ModuleSpecification(Hashtable) ModuleSpecification(Hashtable) ModuleSpecification(Hashtable)

Construct a module specification from a hashtable. Keys can be ModuleName, ModuleVersion, and Guid. ModuleName must be convertible to String. ModuleVersion must be convertible to Version. Guid must be convertible to Guid.

ModuleSpecification(String) ModuleSpecification(String) ModuleSpecification(String) ModuleSpecification(String) ModuleSpecification(String) ModuleSpecification(String)

Construct a module specification from the module name.

ModuleSpecification() ModuleSpecification() ModuleSpecification() ModuleSpecification() ModuleSpecification()

Default constructor

public:
 ModuleSpecification();
public:
 ModuleSpecification();
 ModuleSpecification();
public ModuleSpecification ();
Public Sub New ()

ModuleSpecification(Hashtable) ModuleSpecification(Hashtable) ModuleSpecification(Hashtable) ModuleSpecification(Hashtable)

Construct a module specification from a hashtable. Keys can be ModuleName, ModuleVersion, and Guid. ModuleName must be convertible to String. ModuleVersion must be convertible to Version. Guid must be convertible to Guid.

public:
 ModuleSpecification(System::Collections::Hashtable ^ moduleSpecification);
public ModuleSpecification (System.Collections.Hashtable moduleSpecification);
new Microsoft.PowerShell.Commands.ModuleSpecification : System.Collections.Hashtable -> Microsoft.PowerShell.Commands.ModuleSpecification
Public Sub New (moduleSpecification As Hashtable)

Parameters

moduleSpecification
Hashtable Hashtable Hashtable Hashtable Hashtable Hashtable

The module specification as a hashtable.

ModuleSpecification(String) ModuleSpecification(String) ModuleSpecification(String) ModuleSpecification(String) ModuleSpecification(String) ModuleSpecification(String)

Construct a module specification from the module name.

public:
 ModuleSpecification(System::String ^ moduleName);
public:
 ModuleSpecification(Platform::String ^ moduleName);
 ModuleSpecification(std::wstring const & moduleName);
public ModuleSpecification (string moduleName);
new Microsoft.PowerShell.Commands.ModuleSpecification : string -> Microsoft.PowerShell.Commands.ModuleSpecification
Public Sub New (moduleName As String)

Parameters

moduleName
String String String String String String

The module name.

Applies to