LinkTargetCollection.Contains(LinkTarget) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.