Share via


UninstallPackage.RequiredVersion 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 String

value = instance.RequiredVersion

instance.RequiredVersion = value

Syntax

'Declaration
<ParameterAttribute(ParameterSetName:="PackageBySearch")> _
Public Overrides Property RequiredVersion As String
[ParameterAttribute(ParameterSetName="PackageBySearch")] 
public override string RequiredVersion { get; set; }
[ParameterAttribute(ParameterSetName=L"PackageBySearch")] 
public:
virtual property String^ RequiredVersion {
    String^ get () override;
    void set (String^ value) override;
}
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public String get_RequiredVersion ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public void set_RequiredVersion (String value)
CompilerGeneratedAttribute 
public override function get RequiredVersion () : String

CompilerGeneratedAttribute 
public override function set RequiredVersion (value : String)

Property Value

Returns String.

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