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

INetworkAttributeParameter.DefaultValue Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkAttributeParameter Interface > INetworkAttributeParameter.DefaultValue Property
ArcGIS Developer Help

INetworkAttributeParameter.DefaultValue Property

The default value of the parameter.

[Visual Basic .NET]
Public Property DefaultValue As Object
public object DefaultValue {get; set;}
HRESULT get_DefaultValue(
  Variant* Value
HRESULT put_DefaultValue(
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.


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