ArcObjects Library Reference  (GeoDatabase)    

ISelectionSet.Add Method

Adds an object id to the selection set.

[Visual Basic 6.0]
Sub Add(
    ByVal OID As Long _
)
[Visual Basic .NET]
Public Sub Add ( _
    ByVal OID As Integer _
)
[C#]
public void Add (
    int OID
);
[Java]
public void add (
    int OID
)
throws
    IOException,
    AutomationException
[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