This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPUtilities Interface > IGPUtilities.CreateDataElement Method (ArcObjects .NET 10.5 SDK) |
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,
IDataElement** DataElement
);
[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 DataElement [out, retval]
DataElement is a parameter of type IDataElement