GetPackage.IsPackageInVersionRange Method
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 pkg As SoftwareIdentity
Dim returnValue As Boolean
returnValue = Me.IsPackageInVersionRange(pkg)
Syntax
'Declaration
Protected Function IsPackageInVersionRange ( _
pkg As SoftwareIdentity _
) As Boolean
protected bool IsPackageInVersionRange (
SoftwareIdentity pkg
)
protected:
bool IsPackageInVersionRange (
SoftwareIdentity^ pkg
)
protected boolean IsPackageInVersionRange (
SoftwareIdentity pkg
)
protected function IsPackageInVersionRange (
pkg : SoftwareIdentity
) : boolean
Parameters
- pkg
Return Value
Returns Boolean.
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
GetPackage Class
GetPackage Members
Microsoft.PowerShell.OneGet.CmdLets Namespace