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

IAnnotateLayerPropertiesCollection2.Replace Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IA > IAnnotateLayerPropertiesCollection2 Interface > IAnnotateLayerPropertiesCollection2.Replace Method
ArcGIS Developer Help

IAnnotateLayerPropertiesCollection2.Replace Method

Replaces the item in the collection with the given id.

[Visual Basic .NET]
Public Sub Replace ( _
    ByVal ID As Integer, _
    ByVal pAnnotateLayerProperties As IAnnotateLayerProperties _
public void Replace (
    int ID,
    IAnnotateLayerProperties pAnnotateLayerProperties
HRESULT Replace(
  long ID,
  IAnnotateLayerProperties* pAnnotateLayerProperties
ID [in]

ID is a parameter of type long pAnnotateLayerProperties [in]
pAnnotateLayerProperties is a parameter of type IAnnotateLayerProperties*

Product Availability

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

See Also

IAnnotateLayerPropertiesCollection2 Interface