This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterTypeEnvironment Interface > IRasterTypeEnvironment.ReplacePath Method (ArcObjects .NET 10.4 SDK) |
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