packages/Windows API Code Pack 1.1/source/WindowsAPICodePack/Shell/PropertySystem/ShellPropertyCollection.cs
/// <summary>
/// Checks if a property with the given canonical name is available.
/// </summary>
/// <param name="canonicalName">The canonical name of the property.</param>
/// <returns><B>True</B> if available, <B>false</B> otherwise.</returns>
Checks if a property with the given canonical name is available.
Checks if a property with the given canonical name is available .
public bool Contains(string canonicalName)
        {
            if (string.IsNullOrEmpty(canonicalName))
            {
                throw new ArgumentException(LocalizedMessages.PropertyCollectionNullCanonicalName, "canonicalName");
            }
            return Items.Any(p => p.CanonicalName == canonicalName);
        }
public bool Contains ( string canonicalName ) { if ( string . IsNullOrEmpty ( canonicalName ) ) { throw new ArgumentException ( LocalizedMessages . PropertyCollectionNullCanonicalName , " " ) ; } return Items . Any ( p => p . CanonicalName == canonicalName ) ; }
Checks if a property with the given canonical name is available.
Checks if a property with the given canonical name is available .
None
canonicalName
string
The canonical name of the property.
The canonical name of the property .