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.

TextElementCollection<TextElementType>.Contains Method (TextElementType)

 

Queries for the presence of a specified item in the collection.

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

public bool Contains(
	TextElementType item
)

Parameters

item
Type: TextElementType

An item to query for the presence of in the collection.

Return Value

Type: System.Boolean

true if the specified item is present in the collection; otherwise, false.

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