共用方式為


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 _
)
public void Add(
    GlobalObject item
)

Parameters

.NET Framework Security

See Also

Reference

GlobalObjectCollection Class

Microsoft.VisualStudio.Shell.Design Namespace