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


IGPNAUtilities.DecodeGPNALayer Method (ArcObjects .NET 10.6 SDK)
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
);
[C++]

Parameters Value [in]
Value is a parameter of type IGPValue*

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