This document is archived and information here might be outdated. Recommended version. |
Opens the dataset object from the given catalog path.
[Visual Basic .NET] Public Function OpenDatasetFromLocation ( _ ByVal catalogPath As String _ ) As IDataset
[C#] public IDataset OpenDatasetFromLocation ( string catalogPath );
[C++]
HRESULT OpenDatasetFromLocation(
BSTR catalogPath
);
[C++]
Parameters catalogPath [in]
catalogPath is a parameter of type BSTR
The OpenDatasetFromLocation method provides a quick way to get a dataset from its location path string. It takes in an ArcCatalog path string and returns a Dataset object [IDataset].