GlobalObjectCollection.IList.Add Method
Adds an object to the collection.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
‘선언
Private Function Add ( _
item As Object _
) As Integer Implements IList.Add
int IList.Add(
Object item
)
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.
Implements
.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.