The PathCollection type exposes the following members.
Add all items of the given enumrable class to the list.
Adds the paths of the passed ItemIdLists to the list.
Adds the given path to the list of path.
Adds the given path to the list of path. It does not fire the Changing and Change event.
Prevent that the SelectionListChanged event is fired until EndUpdate is called. Every call of BeginUpdate() increments an UpdateCounter variable.
Removes all elements from the list
Creates a copy of the current PathCollection
Returns true if the given path is in the list
Copies the elements of the PathCollection to an Array, starting at a particular Array index.
Removes the path with the given index from the list.
Releases managed ressources.
Every call of EndUpdate() decrements the UpdateCounter variable. When the UpdateCounter is 0, then the SelectionListChanged event is fired.
Makes sure that the given paths does not end with System.IO.Path.DirectorySeperatorChar.
Checks if the given path exists.
Returns the domain name from a UNC path
Gets the file size in byte.
Returns the size of a folder, including all files in all subfolders.
|GetFolderSize(String, Int32, Int32)|
Returns the size of a folder, including all files in all subfolders, and the file count.
Returns the size of a folder, including all files in all subfolders, and the file count for paths that don't contain folders longer than 260 characters, this is the old implementation that was used in ShellBrowser.Net up to and including version 126.96.36.199
A wrapper for ShellApi.GetLongPathName
Returns the parent path of the given path.
This method needs the mpr.dll to work. (UNCPath length = max 1024 chars) This method should only be used with mapped drives, e.g. for a fixed drive an IOException occurs (Not Connected) See DriveType to determine whether the drive is a network share.
Makes sure that the given paths end with System.IO.Path.DirectorySeparatorChar.
Returns the index of the given path.
Determines if the given path is absolute.s
Checks if the given path is a drive.
Checks if the given path is an absolute local path (including mapped network drives), i.e. if it starts with a drive letter and is followed by a colon and a backslash ("c:\")
Checks if a given path is a parent path of the other given path.
Checks if the given path is a UNC path like \\Server\share. It does not check if the path really exists. see also http://msdn2.microsoft.com/en-us/library/aa365247.aspx#maximum_path_length
Query if this instance is currently updating.
Returns the object associated with a path.
Fires the Change event.
Fires the Changing event.
Call this method to update the collection, e.g. upon path rename.
Removes a path from the list.
Removes the given path.
Checks if two paths are identical
Override the inherited method ToString().(Overrides ObjectToString.)
Brings the path into a unified format. This makes it easier to eliminate duplicates.
Updates the object associated with a path.