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
value
Type: System.ObjectThe item to match.
Return Value
Type: System.Boolean
true if the IdentifierCollection contains the specified item; otherwise, false.
Implements
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Tools.Applications.ProgrammingModel Namespace