This document is archived and information here might be outdated.  Recommended version.


INamedSet.Add Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INamedSet Interface > INamedSet.Add Method
ArcGIS Developer Help

INamedSet.Add Method

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Remarks

Adds an object to the NamedSet identified by the specified name.

See Also

INamedSet Interface