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
item
Type: Microsoft.VisualStudio.Shell.Design.GlobalObjectAn object to be appended to the end of the collection.
Permissions
- 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.