packages/Windows API Code Pack 1.1/source/WindowsAPICodePack/Shell/Common/ShellLibrary.cs
/// <summary>
/// Add an existing folder to this library
/// </summary>
/// <param name="folderPath">The path to the folder to be added to the library.</param>
Add an existing folder to this library
Add an existing folder to this library
public void Add(string folderPath)
        {
            if (!Directory.Exists(folderPath))
            {
                throw new DirectoryNotFoundException(LocalizedMessages.ShellLibraryFolderNotFound);
            }
            Add(ShellFileSystemFolder.FromFolderPath(folderPath));
        }
public void Add ( string folderPath ) { if ( ! Directory . Exists ( folderPath ) ) { throw new DirectoryNotFoundException ( LocalizedMessages . ShellLibraryFolderNotFound ) ; } Add ( ShellFileSystemFolder . FromFolderPath ( folderPath ) ) ; }
Add an existing folder to this library
Add an existing folder to this library
folderPath
string
The path to the folder to be added to the library.
The path to the folder to be added to the library .