Determines whether the specified LinkBase object is a member of the collection.
public bool Contains( LinkBase val )
Public Function Contains( val As LinkBase ) As Boolean
The LinkBase object to locate in the collection.
true if the link is a member of the collection; otherwise, false.
This method enables you to determine whether the link is a member of the collection before attempting to perform operations on the link. This method can be used to confirm that the link has been added to or is still a member of the collection.