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