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: