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


IObjects.Set Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IObjects.Set Method

Add an object at the given index replacing the existing object, which is returned.

[Visual Basic .NET]
Public Function Set ( _
    ByVal Index As Integer, _
    ByVal Object As Object, _
    ByVal CLSID As UID _
) As Object
[C#]
public object Set (
    int Index,
    object Object,
    UID CLSID
);
[C++]
HRESULT Set(
  long Index,
  LPUNKNOWN Object,
  IUID* CLSID,
  LPUNKNOWN* previousObject
);
[C++]

Parameters Index [in] Index is a parameter of type long Object [in] Object is a parameter of type LPUNKNOWN CLSID [in]
CLSID is a parameter of type IUID previousObject [out, retval] previousObject is a parameter of type LPUNKNOWN

Product Availability

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

See Also

IObjects Interface