GlobalObjectCollection.Add Method

Adds a new item to the collection.

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

Syntax

'宣言
Public Sub Add ( _
    item As GlobalObject _
)
'使用
Dim instance As GlobalObjectCollection
Dim item As GlobalObject

instance.Add(item)
public void Add(
    GlobalObject item
)
public:
void Add(
    GlobalObject^ item
)
public function Add(
    item : GlobalObject
)

Parameters

Permissions

See Also

Reference

GlobalObjectCollection Class

GlobalObjectCollection Members

Microsoft.VisualStudio.Shell.Design Namespace