ArcObjects Library Reference  (Geoprocessing)    

IGPUtilities.DecodeDETable Method

Returns the table data element specified by the given geoprocessing value object.

[Visual Basic 6.0]
Function DecodeDETable(
    ByVal pValue As IGPValue _
) As IDETable
[Visual Basic .NET]
Public Function DecodeDETable ( _
    ByVal pValue As IGPValue _
) As IDETable
[C#]
public IDETable DecodeDETable (
    IGPValue pValue
);
[Java]
public IDETable decodeDETable (
    IGPValue pValue
)
throws
    IOException,
    AutomationException
[C++]
HRESULT DecodeDETable(
  IGPValue* pValue,
  IDETable** ppDETable
);
[C++]

Parameters

pValue [in]

  pValue is a parameter of type IGPValue

ppDETable [out, retval]

  ppDETable is a parameter of type IDETable

Product Availability

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

Remarks

The DecodeDETable method is a wrapper function to quickly create a value from an object. It returns the table data element specified by the given geoprocessing value object. For a code sample see below.

[Visual Basic 6.0]

The following code sample shows how to quickly create a data element table object from an input geoprocessing value object and how it can then be used to clone the table object and further to access table fields.

'Create objects
   Dim pValue As IGPValue
   Dim pDETable As IDETable   
   Dim pDETableIn As IDETable
   Dim pClone As IClone

'Create the GPUtilities Object
   Dim pUtils As IGPUtilities
   Set pUtils = New GPUtilities
...
...
  
'Set table data element to the input geoprocessing value object
    Set pDETable = pUtils.DecodeDETable(pValue)
'Clone the table data element
    Set pClone = pDETable
    pClone.Assign pDETableIn

 

See Also

IGPUtilities Interface

 


Feedback Send feedback on this page