[This is preliminary documentation and is subject to change.]

Determines whether the IList contains a specific value.

Namespace: Tools.CollectionsT.GenericT
Assembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
[ObsoleteAttribute("Use type-safe overload instead")]
public override sealed bool Contains(
	Object value
)
Visual Basic
<EditorBrowsableAttribute(EditorBrowsableState.Never)> _
<ObsoleteAttribute("Use type-safe overload instead")> _
Public Overrides NotOverridable Function Contains ( _
	value As Object _
) As Boolean
Visual C++
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
[ObsoleteAttribute(L"Use type-safe overload instead")]
public:
virtual bool Contains(
	Object^ value
) override sealed
F#
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
[<ObsoleteAttribute("Use type-safe overload instead")>]
abstract Contains : 
        value:Object -> bool 
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
[<ObsoleteAttribute("Use type-safe overload instead")>]
override Contains : 
        value:Object -> bool 
JScript
public override final function Contains(
	value : Object
) : boolean

Parameters

value
Type: System..::..Object
The Object to locate in the IList.

Return Value

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

Remarks

Provided for compatibility with CollectionEditor

See Also