This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPUtilities Interface > IGPUtilities.OpenDataset Method (ArcObjects .NET 10.4 SDK) |
Opens the dataset object specified by the given geoprocessing value object.
[Visual Basic .NET] Public Function OpenDataset ( _ ByVal pValue As IGPValue _ ) As IDataset
[C#] public IDataset OpenDataset ( IGPValue pValue );
[C++]
HRESULT OpenDataset(
IGPValue* pValue,
IDataset** ppDataset
);
[C++]
Parameters pValue [in]
pValue is a parameter of type IGPValue ppDataset [out, retval]
ppDataset is a parameter of type IDataset
The OpenDataset method takes in a GPValue object and returns and opens the specified Dataset object. It is typically used inside the Execute method to open the input data.