Share via


UninstallPackage.Package Property

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.PowerShell.OneGet.CmdLets
Assembly: Microsoft.PowerShell.OneGet (in Microsoft.PowerShell.OneGet.dll)

Usage

'Usage
Dim instance As UninstallPackage
Dim value As SoftwareIdentity()

value = instance.Package

instance.Package = value

Syntax

'Declaration
<ParameterAttribute(Mandatory:=True, Position:=0, ValueFromPipeline:=True, ParameterSetName:="PackageByInputObject")> _
Public Property Package As SoftwareIdentity()
[ParameterAttribute(Mandatory=true, Position=0, ValueFromPipeline=true, ParameterSetName="PackageByInputObject")] 
public SoftwareIdentity[] Package { get; set; }
[ParameterAttribute(Mandatory=true, Position=0, ValueFromPipeline=true, ParameterSetName=L"PackageByInputObject")] 
public:
property array<SoftwareIdentity^>^ Package {
    array<SoftwareIdentity^>^ get ();
    void set (array<SoftwareIdentity^>^ value);
}
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public SoftwareIdentity[] get_Package ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public void set_Package (SoftwareIdentity[] value)
CompilerGeneratedAttribute 
public function get Package () : SoftwareIdentity[]

CompilerGeneratedAttribute 
public function set Package (value : SoftwareIdentity[])

Property Value

Returns SoftwareIdentity.

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

Target Platforms

See Also

Reference

UninstallPackage Class
UninstallPackage Members
Microsoft.PowerShell.OneGet.CmdLets Namespace