Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

LinkTargetCollection::Contains Method (LinkTarget^)

 

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

Namespace:   System.Windows.Documents
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
bool Contains(
	LinkTarget^ value
)

Parameters

value
Type: System.Windows.Documents::LinkTarget^

The link to test for.

Return Value

Type: System::Boolean

true if value is present; otherwise, false.

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

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft