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


ISelectionSet.Add Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

ISelectionSet.Add Method

Adds an object id to the selection set.

[Visual Basic .NET]
Public Sub Add ( _
    ByVal OID As Integer _
)
[C#]
public void Add (
    int OID
);
[C++]
HRESULT Add(
  long OID
);
[C++]

Parameters OID [in] OID is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

ISelectionSet Interface