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


INetworkEvaluatorSetup.SupportsDefault Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

INetworkEvaluatorSetup.SupportsDefault Method

Indicates if this network evaluator can be used as the default evaluator for the given network element type and network attribute.

[Visual Basic .NET]
Public Function SupportsDefault ( _
    ByVal ElementType As esriNetworkElementType, _
    ByVal Attribute As IEvaluatedNetworkAttribute _
) As Boolean
[C#]
public bool SupportsDefault (
    esriNetworkElementType ElementType,
    IEvaluatedNetworkAttribute Attribute
);
[C++]
HRESULT SupportsDefault(
  esriNetworkElementType ElementType,
  IEvaluatedNetworkAttribute* Attribute,
  VARIANT_BOOL* IsSupported
);
[C++]

Parameters ElementType [in]
ElementType is a parameter of type esriNetworkElementType Attribute [in]
Attribute is a parameter of type IEvaluatedNetworkAttribute IsSupported [out, retval] IsSupported is a parameter of type VARIANT_BOOL

Product Availability

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

Remarks

The SupportsDefault method is used to determine if the evaluator can be used to assign default attribute values for elements of the given type.  If SupportsDefault is False, then the evaluator does not show up as a default evaluator choice for the user in the Evaluators dialog in ArcCatalog.

See Also

INetworkEvaluatorSetup Interface