ArcObjects Library Reference (DataSourcesRaster)  

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,
  BSTR* pOutputPath
);
[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 pOutputPath [out, retval]   pOutputPath is a parameter of type BSTR

Product Availability

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

See Also

IRasterTypeEnvironment Interface