System.Web.SiteMapNodeCollection.Contains Method

Determines whether the collection contains a specific System.Web.SiteMapNode object.

Syntax

public virtual bool Contains (SiteMapNode value)

Parameters

value
The System.Web.SiteMapNode to locate in the System.Web.SiteMapNodeCollection.

Returns

true if the System.Web.SiteMapNodeCollection contains the specified System.Web.SiteMapNode; otherwise, false.

Remarks

The SiteMapNodeCollection.Contains(SiteMapNode) method determines equality by calling the object.Equals(object) method.

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0