Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Private Function Contains ( _
obj As Object _
) As Boolean Implements IList.Contains
'使用
Dim instance As TaskProvider..::.TaskCollection
Dim obj As Object
Dim returnValue As Boolean
returnValue = CType(instance, IList).Contains(obj)
bool IList.Contains(
Object obj
)
private:
virtual bool Contains(
Object^ obj
) sealed = IList::Contains
JScript does not support explicit interface implementations.
Parameters
- obj
Type: System.Object
Return Value
Type: System.Boolean
Implements
Permissions
- 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
TaskProvider.TaskCollection Class