Skip to content

094f4ef0 80d2 e610 a775 07751cd4ec6d

Fernando Garcia edited this page May 8, 2018 · 1 revision

BaseSimpleModelCollection(TItem, TParent).Contains Method

Additional header content

Determines whether an element is in the BaseSimpleModelCollection(TItem, TParent).

Namespace: iTin.Export.Model
Assembly: iTin.Export.Core (in iTin.Export.Core.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public bool Contains(
	TItem item
)

VB

Public Function Contains ( 
	item As TItem
) As Boolean

Parameters

 

item
Type: TItem
The object to locate in the BaseSimpleModelCollection(TItem, TParent). The value can be null for reference types.

Return Value

Type: Boolean
true if item is found in the BaseSimpleModelCollection(TItem, TParent); otherwise, false.

Implements

ICollection(T).Contains(T)

Remarks

This method determines equality by using the default equality comparer, as defined by the object's implementation of the Equals() method for TItem (the type of values in the list).

See Also

Reference

BaseSimpleModelCollection(TItem, TParent) Class
iTin.Export.Model Namespace

Clone this wiki locally