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


IRasterTypeEnvironment.ReplacePath Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterTypeEnvironment Interface > IRasterTypeEnvironment.ReplacePath Method
ArcGIS Developer Help

IRasterTypeEnvironment.ReplacePath Method

Replaces one or more parts of the specified input path using two arrays that map path values.

[Visual Basic .NET]
Public Function ReplacePath ( _
    ByVal pOldPaths As IStringArray, _
    ByVal pNewPaths As IStringArray, _
    ByVal inputPath As String _
) As String
[C#]
public string ReplacePath (
    IStringArray pOldPaths,
    IStringArray pNewPaths,
    string inputPath
);
[C++]
HRESULT ReplacePath(
  IStringArray* pOldPaths,
  IStringArray* pNewPaths,
  BSTR inputPath
);
[C++]
Parameters
pOldPaths [in]

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

Product Availability

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

See Also

IRasterTypeEnvironment Interface