Share via


GlobalTypeCollection.IList.Add Method

Adds an item to the collection.

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

‘선언
Private Function Add ( _
    item As Object _
) As Integer Implements IList.Add
‘사용 방법
Dim instance As GlobalTypeCollection
Dim item As Object
Dim returnValue As Integer

returnValue = CType(instance, IList).Add(item)
int IList.Add(
    Object item
)
private:
virtual int Add(
    Object^ item
) sealed = IList::Add
private abstract Add : 
        item:Object -> int 
private override Add : 
        item:Object -> int 
JScript does not support explicit interface implementations.

Parameters

  • item
    Type: System.Object
    The item to be added to the collection.

Return Value

Type: System.Int32
The position at which the item was added.

Implements

IList.Add(Object)

.NET Framework Security

See Also

Reference

GlobalTypeCollection Class

GlobalTypeCollection Members

Microsoft.VisualStudio.Shell.Design Namespace