Share via


IdentifierCollection.IList.Contains Method

Returns a value indicating whether the IdentifierCollection contains a host item or host object that has the specified name.

Namespace:  Microsoft.VisualStudio.Tools.Applications.ProgrammingModel
Assembly:  Microsoft.VisualStudio.Tools.Applications.ProgrammingModel (in Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.dll)

Syntax

'Declaration
Private Function Contains ( _
    value As Object _
) As Boolean Implements IList.Contains
'Usage
Dim instance As IdentifierCollection 
Dim value As Object 
Dim returnValue As Boolean 

returnValue = CType(instance, IList).Contains(value)
bool IList.Contains(
    Object value
)
private:
virtual bool Contains(
    Object^ value
) sealed = IList::Contains
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Boolean
true if the IdentifierCollection contains the specified item; otherwise, false.

Implements

IList.Contains(Object)

Remarks

This member is an explicit interface member implementation. It can be used only when the IdentifierCollection instance is cast to an IList interface.

.NET Framework Security

See Also

Reference

IdentifierCollection Class

IdentifierCollection Members

Microsoft.VisualStudio.Tools.Applications.ProgrammingModel Namespace