This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkEvaluatorSetup Interface > INetworkEvaluatorSetup.SupportsDefault Method (ArcObjects .NET 10.4 SDK) |
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
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.