TextElementCollection<'TextElementType>.IList.Contains Method (Object)


Determines whether the IList contains a specific value.. Use the type-safe Contains method instead.

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

private abstract Contains : 
        value:Object -> bool
private override Contains : 
        value:Object -> bool


Type: System.Object

The object to locate in the IList.

Return Value

Type: System.Boolean

true if the Object is found in the IList; otherwise, false.

.NET Framework
Available since 3.0
Return to top