NAnt SDK Documentation - v0.85-nightly-2005-11-09

StringUtils.ConvertEmptyToNull Method 

[This is preliminary documentation and subject to change.]

Converts an empty string ("") to a null reference (Nothing in Visual Basic).

[Visual Basic]
Public Shared Function ConvertEmptyToNull( _
   ByVal value As String _
) As String
[C#]
public static string ConvertEmptyToNull(
   string value
);

Parameters

value
The value to convert.

Return Value

a null reference (Nothing in Visual Basic) if value is an empty string ("") or a null reference (Nothing in Visual Basic); otherwise, value.

Remarks

Missing <remarks> documentation for M:NAnt.Core.Util.StringUtils.ConvertEmptyToNull(System.String)

See Also

StringUtils Class | NAnt.Core.Util Namespace