ArcObjects Library Reference (NetworkAnalyst)  

IGPNAUtilities.DecodeGPNALayer Method

Returns the network analyst layer data element specified by the given geoprocessing value object.

[Visual Basic .NET]
Public Function DecodeGPNALayer ( _
    ByVal Value As IGPValue _
) As IGPNALayer
[C#]
public IGPNALayer DecodeGPNALayer (
    IGPValue Value
);
[C++]
HRESULT DecodeGPNALayer(
  IGPValue* Value,
  IGPNALayer** GPNALayer
);
[C++]

Parameters

Value [in]

  Value is a parameter of type IGPValue

GPNALayer [out, retval]

  GPNALayer is a parameter of type IGPNALayer

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Remarks

DecodeNALayer takes in a GPValue and queries for an NALayer from the internal list of layers.

See Also

IGPNAUtilities Interface