NAnt SDK Documentation - v0.92

VcArgumentMap.GetArgument Method 

Gets the argument string corresponding with a configuration property named propName with value propValue. An ignore mask can be used to eliminate some arguments from the search.

[Visual Basic]
Public Function GetArgument( _
   ByVal propName As String, _
   ByVal propValue As String, _
   ByVal useIgnoreGroup As ArgGroup _
) As String
[C#]
public string GetArgument(
   string propName,
   string propValue,
   ArgGroup useIgnoreGroup
);

Parameters

propName
The name of the configuration property.
propValue
The value of the configuration property.
useIgnoreGroup
Specify any groups that needs to be ignored.

Return Value

The argument string corresponding with a configuration property named propName with value propValue, or a null reference (Nothing in Visual Basic) if no corresponding argument exists.

See Also

VcArgumentMap Class | NAnt.VSNet Namespace