This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INamedSet Interface > INamedSet.Add Method (ArcObjects .NET 10.5 SDK) |
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 LPUNKNOWN
Adds an object to the NamedSet identified by the specified name.