This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkAttribute2 Interface > INetworkAttribute2.UseByDefault Property (ArcObjects .NET 10.5 SDK) |
Indicates if this network attribute is to be used by default.
[Visual Basic .NET] Public Property UseByDefault As Boolean
[C#] public bool UseByDefault {get; set;}
[C++]
HRESULT get_UseByDefault(
VARIANT_BOOL* UseByDefault
);
[C++]
HRESULT put_UseByDefault(
VARIANT_BOOL UseByDefault
);
[C++]
Parameters UseByDefault [out, retval] UseByDefault is a parameter of type VARIANT_BOOL UseByDefault [in] UseByDefault is a parameter of type VARIANT_BOOL
If the UseByDefault property is set to True for a NetworkAttribute, the network attribute will automatically be set as an option (e.g., impedance, restriction, hierarchy) when a new network analysis layer is created in ArcMap.