Edit

Share via


LinkTargetCollection.Contains(LinkTarget) Method

Definition

Specifies a value that indicates whether a particular LinkTarget is in the collection.

public:
 bool Contains(System::Windows::Documents::LinkTarget ^ value);
public bool Contains (System.Windows.Documents.LinkTarget value);
member this.Contains : System.Windows.Documents.LinkTarget -> bool
Public Function Contains (value As LinkTarget) As Boolean

Parameters

value
LinkTarget

The link to test for.

Returns

true if value is present; otherwise, false.

Remarks

Rather than searching the entire document, the Contains method provides a quick means to test for a specified link.

Applies to