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 _
)
public void Add(
GlobalObject item
)
Parameters
- item
Type: Microsoft.VisualStudio.Shell.Design.GlobalObject
An object to be appended to the end of the collection.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.