NAnt SDK Documentation - v0.92

StringUtils.Clone Method 

Creates a shallow copy of the specified StringCollection.

[Visual Basic]
Public Shared Function Clone( _
   ByVal stringCollection As StringCollection _
) As StringCollection
[C#]
public static StringCollection Clone(
   StringCollection stringCollection
);

Parameters

stringCollection
The StringCollection that should be copied.

Return Value

A shallow copy of the specified StringCollection.

See Also

StringUtils Class | NAnt.Core.Util Namespace