AddModuleCommand.ModuleInfo Property

Namespace: Microsoft.PowerShell.Commands
Assembly: System.Management.Automation (in system.management.automation.dll)

Usage

Syntax

'Declaration
<ParameterAttribute(ParameterSetName:="ModuleInfo", Mandatory:=True, ValueFromPipeline:=True, Position:=0)> _
<SuppressMessageAttribute("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Justification:="Cmdlets use arrays for parameters.")> _
Public Property ModuleInfo As PSModuleInfo()
[ParameterAttribute(ParameterSetName="ModuleInfo", Mandatory=true, ValueFromPipeline=true, Position=0)] 
[SuppressMessageAttribute("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Justification="Cmdlets use arrays for parameters.")] 
public PSModuleInfo[] ModuleInfo { get; set; }
[ParameterAttribute(ParameterSetName=L"ModuleInfo", Mandatory=true, ValueFromPipeline=true, Position=0)] 
[SuppressMessageAttribute(L"Microsoft.Performance", L"CA1819:PropertiesShouldNotReturnArrays", Justification=L"Cmdlets use arrays for parameters.")] 
public:
property array<PSModuleInfo^>^ ModuleInfo {
    array<PSModuleInfo^>^ get ();
    void set (array<PSModuleInfo^>^ value);
}
/** @property */
public PSModuleInfo[] get_ModuleInfo ()

/** @property */
public void set_ModuleInfo (PSModuleInfo[] value)
public function get ModuleInfo () : PSModuleInfo[]

public function set ModuleInfo (value : PSModuleInfo[])

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP

Target Platforms

Windows Server 2008, Windows Server 2003, Windows Vista, Windows XP

See Also

Reference

AddModuleCommand Class
AddModuleCommand Members
Microsoft.PowerShell.Commands Namespace