packages/Windows API Code Pack 1.1/source/WindowsAPICodePack/Shell/Common/ShellLibrary.cs
/// <summary>
/// Determines if a folder exists in the collection.
/// </summary>
/// <param name="item">The folder.</param>
/// <returns><B>true</B>, if the folder exists in the collection.</returns>
Determines if a folder exists in the collection.
Determines if a folder exists in the collection .
public bool Contains(ShellFileSystemFolder item)
        {
            if (item == null)
            {
                throw new ArgumentNullException("item");
            }
            return ItemsList.Any(folder => string.Equals(item.Path, folder.Path, StringComparison.OrdinalIgnoreCase));
        }
public bool Contains ( ShellFileSystemFolder item ) { if ( item == null ) { throw new ArgumentNullException ( " " ) ; } return ItemsList . Any ( folder => string . Equals ( item . Path , folder . Path , StringComparison . OrdinalIgnoreCase ) ) ; }
Determines if a folder exists in the collection.
Determines if a folder exists in the collection .
None
item
ShellFileSystemFolder
None