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


IGPUtilities.OpenDataset Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGPUtilities.OpenDataset Method

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

Product Availability

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

Remarks

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.

See Also

IGPUtilities Interface