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


IGPUtilities.CreateDataElement Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPUtilities Interface > IGPUtilities.CreateDataElement Method
ArcGIS Developer Help

IGPUtilities.CreateDataElement Method

Creates a new data element object from the catalog object specified by the given path, data type, and optional workspace.

[Visual Basic .NET]
Public Function CreateDataElement ( _
    ByVal catalogPath As String, _
    ByVal pDataType As IGPDataType, _
    ByVal optionalWorkspace As String _
) As IDataElement
[C#]
public IDataElement CreateDataElement (
    string catalogPath,
    IGPDataType pDataType,
    string optionalWorkspace
);
[C++]
HRESULT CreateDataElement(
  BSTR catalogPath,
  IGPDataType* pDataType,
  BSTR optionalWorkspace
);
[C++]
Parameters
catalogPath [in]

catalogPath is a parameter of type BSTR pDataType [in]
pDataType is a parameter of type IGPDataType* optionalWorkspace [in]
optionalWorkspace is a parameter of type BSTR

Product Availability

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

See Also

IGPUtilities Interface