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

ISymbolCollection.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 > ISymbolCollection Interface > ISymbolCollection.Replace Method
ArcGIS Developer Help

ISymbolCollection.Replace Method

Replaces the symbol associated with the symbolID.

[Visual Basic .NET]
Public Sub Replace ( _
    ByVal symbolID As Integer, _
    ByVal Symbol As ISymbol _
public void Replace (
    int symbolID,
    ISymbol Symbol
HRESULT Replace(
  long symbolID,
  ISymbol* Symbol
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

ISymbolCollection Interface