The FtpItemCollection type exposes the following members.
Constructors
Name | Description | |
---|---|---|
FtpItemCollection()()()() |
Initializes a new instance of the FtpItemCollection class.
| |
FtpItemCollection(array<String>[]()[][]) |
Initializes a new instance of the FtpItemCollection class with the specified file list.
| |
FtpItemCollection(array<String>[]()[][], FtpListingType) |
Initializes a new instance of the FtpItemCollection class with the specified file list.
|
Methods
Name | Description | |
---|---|---|
Add(FileSystemItem) | ||
Add(FtpItem) |
Adds the specified item to the collection.
| |
AddRange(IEnumerable<(Of <<'(FileSystemItem>)>>)) |
Adds the elements of the specified collection to the end of the FileSystemItemCollection.
(Inherited from FileSystemItemCollection.) | |
AddRange(IEnumerable<(Of <<'(FtpItem>)>>)) |
Adds the elements of the specified collection to the end of the FtpItemCollection.
| |
Clear |
Removes all items from the collection.
(Inherited from FileSystemItemCollection.) | |
Clone |
Creates a shallow copy of the collection.
| |
Contains(String) |
Determines whether the item with the specified path is in the collection.
(Inherited from FileSystemItemCollection.) | |
Contains(FileSystemItem) | ||
Contains(FtpItem) |
Determines whether the item is in the collection.
| |
CopyTo(Array, Int32) |
Copies the range of elements from the collection to a compatible one-dimensional
Array, starting at the specified index of the target array.
| |
CopyTo(array<FileSystemItem>[]()[][], Int32) |
Copies the range of elements from the collection to a one-dimensional
FileSystemItem array, starting at the specified index of the target array.
(Inherited from FileSystemItemCollection.) | |
CopyTo(array<FtpItem>[]()[][], Int32) |
Copies the range of elements from the collection to a one-dimensional
FtpItem array, starting at the specified index of the target array.
| |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetEnumerator |
Gets an IEnumerator<(Of <(<'T>)>)> for the collection.
| |
GetFiles(String) |
Returns the names of files in the collection that match the specified search pattern.
(Inherited from FileSystemItemCollection.) | |
GetFiles(Regex) |
Returns the paths of files in the collection that match the specified search pattern.
(Inherited from FileSystemItemCollection.) | |
GetFiles(String, Boolean) |
Returns the names of files in the collection that match the specified search pattern.
(Inherited from FileSystemItemCollection.) | |
GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
GetTotalSize |
Gets the total size of files contained in the collection.
(Inherited from FileSystemItemCollection.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
CheckItem |
Validates whether the item is correct and can be added.
(Overrides FileSystemItemCollection..::..CheckItem(FileSystemItem).) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Remove(Int32) | Obsolete. | |
Remove(String) |
Removes the item with the specified path from the collection.
| |
Remove(FileSystemItem) | ||
Remove(FtpItem) |
Removes the specified item from the collection. Fails if not found.
| |
RemoveAt |
Removes the item at the specified index from the collection.
(Inherited from FileSystemItemCollection.) | |
Sort()()()() |
Sorts the items in the entire collection alphabetically.
(Inherited from FileSystemItemCollection.) | |
Sort(IComparer) |
Sorts the elements in the entire collection using the specified comparer.
(Inherited from FileSystemItemCollection.) | |
Sort(Int32, Int32, IComparer) |
Sorts the elements in a section of the collection using the specified comparer.
(Inherited from FileSystemItemCollection.) | |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Count |
Gets the number of elements contained in the collection.
(Inherited from FileSystemItemCollection.) | |
IsSynchronized |
Gets a value indicating whether access to the colleciton is synchronized (thread-safe).
| |
Item[([( Int32])]) |
Gets the item at the specified index.
| |
Item[([( String])]) |
Gets the item of the specified path.
| |
SyncRoot |
Gets an object that can be used to synchronize access to the collection.
(Inherited from FileSystemItemCollection.) | |
UsePath |
Gets or sets a value that indicates whether to use a Path or Name for pattern matching
and return values in the GetFiles(Regex) method.
(Inherited from FileSystemItemCollection.) |