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


IItemPaths.ReplacePaths Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > II > IItemPaths Interface > IItemPaths.ReplacePaths Method
ArcGIS Developer Help

IItemPaths.ReplacePaths Method

Updates all paths associated with the object using the specified mapping rule. The number of values in the two arrays must be the same.

[Visual Basic .NET]
Public Sub ReplacePaths ( _
    ByVal pOldPaths As IStringArray, _
    ByVal pNewPaths As IStringArray _
)
[C#]
public void ReplacePaths (
    IStringArray pOldPaths,
    IStringArray pNewPaths
);
[C++]
HRESULT ReplacePaths(
  IStringArray* pOldPaths,
  IStringArray* pNewPaths
);
[C++]
Parameters
pOldPaths [in]

pOldPaths is a parameter of type IStringArray* pNewPaths [in]
pNewPaths is a parameter of type IStringArray*

Product Availability

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

See Also

IItemPaths Interface