Xceed .NET Libraries Documentation
Add Method (StringList)


Xceed.Ftp Assembly > Xceed.Ftp Namespace > StringList Class : Add Method
The string to add.
Adds a string to the list.
Syntax
'Declaration
 
Public Function Add( _
   ByVal value As String _
) As Integer
'Usage
 
Dim instance As StringList
Dim value As String
Dim value As Integer
 
value = instance.Add(value)
public int Add( 
   string value
)

Parameters

value
The string to add.

Return Value

The zero-based index at which the string was added.
Remarks

This method accepts a string with multiple lines however each line will be added as an individual item to the list. The index of the first line added will be returned.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

StringList Class
StringList Members