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


ISymbolCollection2.Replace Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IS > ISymbolCollection2 Interface > ISymbolCollection2.Replace Method
ArcGIS Developer Help

ISymbolCollection2.Replace Method

Replaces the symbol associated with the symbolID.

[Visual Basic .NET]
Public Sub Replace ( _
    ByVal symbolID As Integer, _
    ByVal Symbol As ISymbol _
)
[C#]
public void Replace (
    int symbolID,
    ISymbol Symbol
);
[C++]
HRESULT Replace(
  long symbolID,
  ISymbol* Symbol
);
[C++]
Parameters
symbolID [in]

symbolID is a parameter of type long Symbol [in]
Symbol is a parameter of type ISymbol*

Product Availability

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

See Also

ISymbolCollection2 Interface