Freigeben über


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

'Declaration
Public Sub Add ( _
    item As GlobalObject _
)
'Usage
Dim instance As GlobalObjectCollection
Dim item As GlobalObject

instance.Add(item)
public void Add(
    GlobalObject item
)
public:
void Add(
    GlobalObject^ item
)
member Add : 
        item:GlobalObject -> unit 
public function Add(
    item : GlobalObject
)

Parameters

.NET Framework Security

See Also

Reference

GlobalObjectCollection Class

GlobalObjectCollection Members

Microsoft.VisualStudio.Shell.Design Namespace