NAnt SDK Documentation - v0.92 |
|
PkgConfigFunctions.IsAtLeastVersion Method
Determines whether the given package is at least version version.
[Visual Basic]
<Function(Name:="is-atleast-version")>
Public Function IsAtLeastVersion( _
ByVal
package As
String, _
ByVal
version As
String _
) As
Boolean
[C#]
[Function(Name="is-atleast-version")]
public
bool IsAtLeastVersion(
string package,
string version);
Parameters
-
package
- The package to check.
-
version
- The version the package should at least have.
Return Value
true if the given package is at least version version; otherwise, false.
Exceptions
Exception Type |
Condition |
Win32Exception
|
pkg-config could not be started. |
See Also
PkgConfigFunctions Class | NAnt.Core.Functions Namespace