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


INamedSet.Add Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

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 LPUNKNOWN

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