ModuleSpecification ModuleSpecification ModuleSpecification Constructors

Definition

Overloads

ModuleSpecification() ModuleSpecification()

Default constructor

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)

Construct a module specification from the module name.

ModuleSpecification() ModuleSpecification()

Default constructor

public ModuleSpecification ();
Public Sub New ()

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);
new Microsoft.PowerShell.Commands.ModuleSpecification : System.Collections.Hashtable -> Microsoft.PowerShell.Commands.ModuleSpecification
Public Sub New (moduleSpecification As Hashtable)
Parameters
moduleSpecification
Hashtable Hashtable Hashtable

The module specification as a hashtable.

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

Construct a module specification from the module name.

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

The module name.

Applies to