Xceed .NET Libraries Documentation
Xceed.Ftp Assembly / Xceed.Ftp Namespace / StringList Class


In This Topic
    StringList Class
    In This Topic
    Contains a list of strings.
    Syntax
    'Declaration
     
    
    <DefaultMemberAttribute("Item")>
    <ListBindableAttribute(False)>
    Public Class StringList 
       Inherits Xceed.Utils.Collections.ListBase
       Implements System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList 
    'Usage
     
    
    Dim instance As StringList
    [DefaultMember("Item")]
    [ListBindable(false)]
    public class StringList : Xceed.Utils.Collections.ListBase, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList  
    Inheritance Hierarchy

    System.Object
          Xceed.Ftp.StringList

    Public Properties
     NameDescription
    Public PropertyOverridden. Gets a value indicating whether the StringList has a fixed size.  
    Public PropertyOverridden. Gets a boolean value indicating if the StringList is readonly.  
    Public PropertyGets or sets the string at the specified index.  
    Top
    Public Methods
     NameDescription
    Public MethodAdds a string to the list.  
    Public MethodAdds the elements of a string array to the end of the StringList collection.  
    Public MethodRemoves all strings from the list.  
    Public MethodRetrieves a boolean value indicating if a specific string exists in the list.  
    Public MethodSearches for the specified string and returns the zero-based index of the first occurrence within the list.  
    Public MethodInserts a string into the list at the specified index  
    Public MethodRemoves the string from the list.  
    Public MethodRemoves the string from the list at the specified index.  
    Public MethodReturns a string representing the entire contents the string list. Each item in the string list is separated by a carriage-return/line-feed (CRLF).  
    Top
    Protected Methods
     NameDescription
    Protected MethodOverridden. Performs additional custom processes when validating a value.  
    Top
    Supported Frameworks

    .NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.

    .NET Standard: netstandard2.0, netstandard2.1

    .NET Framework: net20, net35, net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.

    See Also