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


IGPUtilities.DecodeFeatureLayer Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGPUtilities.DecodeFeatureLayer Method

Returns the feature class and query filter specified by the given geoprocessing value object.

[Visual Basic .NET]
Public Sub DecodeFeatureLayer ( _
    ByVal pValue As IGPValue, _
    ByRef ppFC As IFeatureClass, _
    ByRef ppQF As IQueryFilter _
)
[C#]
public void DecodeFeatureLayer (
    IGPValue pValue,
    ref IFeatureClass ppFC,
    ref IQueryFilter ppQF
);
[C++]
HRESULT DecodeFeatureLayer(
  IGPValue* pValue,
  IFeatureClass** ppFC,
  IQueryFilter** ppQF
);
[C++]

Parameters pValue [in]
pValue is a parameter of type IGPValue ppFC [out]
ppFC is a parameter of type IFeatureClass ppQF [out]
ppQF is a parameter of type IQueryFilter

Product Availability

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

Remarks

The DecodeFeatureLayer method is a wrapper function that quickly and easily creates a value from an object. It is called inside IGPFuncion_Validate .

See Also

IGPUtilities Interface

.NET Related Topics

How to access the features in an in-memory output layer using IFeatureCursor