This document is archived and information here might be outdated. Recommended version. |
Add a new named item to the collection.
[Visual Basic .NET] Public Sub Add ( _ ByVal Name As String, _ ByVal Element As Object _ )
[C#] public void Add ( string Name, object Element );
[C++]
HRESULT Add(
BSTR Name,
LPUNKNOWN Element
);
[C++]
Parameters Name [in]
Name is a parameter of type BSTR Element [in]
Element is a parameter of type IUnknown
Adds an object to the NamedSet identified by the specified name.