GlobalObjectCollection::IList::Add Method (Object^)

 

Adds an object to the collection.

Namespace:   Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

private:
virtual int Add(
	Object^ item
) sealed = IList::Add

Parameters

item
Type: System::Object^

The object to be added.

Return Value

Type: System::Int32

S_OK if the method succeeded, otherwise an error code.

Return to top
Show: