IdentifierCollection.IList.Add Method
Adds an item to the IdentifierCollection.
Namespace: Microsoft.VisualStudio.Tools.Applications.ProgrammingModel
Assembly: Microsoft.VisualStudio.Tools.Applications.ProgrammingModel (in Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.dll)
Syntax
'Declaration
Private Function Add ( _
value As Object _
) As Integer Implements IList.Add
'Usage
Dim instance As IdentifierCollection
Dim value As Object
Dim returnValue As Integer
returnValue = CType(instance, IList).Add(value)
int IList.Add(
Object value
)
private:
virtual int Add(
Object^ value
) sealed = IList::Add
JScript does not support explicit interface implementations.
Parameters
value
Type: System.ObjectThe item to add to the IdentifierCollection.
Return Value
Type: System.Int32
The position into which the new element was inserted.
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