Maximum(string version, bool exclusive) Method

Returns a VulnerabilityPackageVersionRange that specifies a maximum version.

Syntax

public static VulnerabilityPackageVersionRange Maximum(string version, bool exclusive)

Parameters

version
Type: string

The maximum version.

exclusive
Type: bool

Value indicating whether the maximum version itself is excluded.

Returns

VulnerabilityPackageVersionRange that specifies a maximum version.