This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IA > IAnnotateLayerPropertiesCollection2 Interface > IAnnotateLayerPropertiesCollection2.Replace Method (ArcObjects .NET 10.4 SDK) |
Replaces the item in the collection with the given id.
[Visual Basic .NET] Public Sub Replace ( _ ByVal ID As Integer, _ ByVal pAnnotateLayerProperties As IAnnotateLayerProperties _ )
[C#] public void Replace ( int ID, IAnnotateLayerProperties pAnnotateLayerProperties );
[C++]
HRESULT Replace(
long ID,
IAnnotateLayerProperties* pAnnotateLayerProperties
);
[C++]
Parameters ID [in] ID is a parameter of type long pAnnotateLayerProperties [in]
pAnnotateLayerProperties is a parameter of type IAnnotateLayerProperties