共用方式為


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
int IList.Add(
    Object item
)

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

Microsoft.VisualStudio.Shell.Design Namespace