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