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: