Skip to main content

LinkCollection.Contains(LinkBase) Method

Determines whether the specified LinkBase object is a member of the collection.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v23.2.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

public bool Contains(
    LinkBase val
)

Parameters

Name Type Description
val LinkBase

The LinkBase object to locate in the collection.

Returns

Type Description
Boolean

true if the link is a member of the collection; otherwise, false.

Remarks

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.

See Also