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
)
public:
void Add(
GlobalObject^ item
)
member Add :
item:GlobalObject -> unit
public function Add(
item : GlobalObject
)
Parameters
item
Type: Microsoft.VisualStudio.Shell.Design.GlobalObjectAn 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.