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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.