ArcObjects Library Reference  (Geoprocessing)    

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 6.0]
Function CreateDataElement(
    ByVal catalogPath As String, _
    ByVal pDataType As IGPDataType, _
    ByVal optionalWorkspace As String _
) As IDataElement
[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
);
[Java]
public IDataElement createDataElement (
    String catalogPath,
    IGPDataType pDataType,
    String optionalWorkspace
)
throws
    IOException,
    AutomationException
[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

Product Availability

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

See Also

IGPUtilities Interface

 


Feedback Send feedback on this page