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

ISelectionSet.Add Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IS > ISelectionSet Interface > ISelectionSet.Add Method
ArcGIS Developer Help

ISelectionSet.Add Method

Adds an object id to the selection set.

[Visual Basic .NET]
Public Sub Add ( _
    ByVal OID As Integer _
public void Add (
    int OID
  long OID
OID [in]

OID is a parameter of type long

Product Availability

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

See Also

ISelectionSet Interface