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


INetworkAttributeParameter.DefaultValue Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

INetworkAttributeParameter.DefaultValue Property

The default value of the parameter.

[Visual Basic .NET]
Public Property DefaultValue As Object
[C#]
public object DefaultValue {get; set;}
[C++]
HRESULT get_DefaultValue(
  VARIANT* Value
);
[C++]
HRESULT put_DefaultValue(
  VARIANT Value
);
[C++]

Parameters Value [out, retval] Value is a parameter of type VARIANT Value [in] Value is a parameter of type VARIANT

Product Availability

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

Remarks

The DefaultValue property is the parameter value stored in the NetworkDataset that should be be used to initialize the Value property.  The variant type of the parameter is based off the DefaultValue's variant type.

See Also

INetworkAttributeParameter Interface

.NET Samples

ArcGIS Network Analyst extension Engine application (Code Files: frmNALayerProperties)