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


INetworkEvaluatorSetup.ValidateDefault Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkEvaluatorSetup Interface > INetworkEvaluatorSetup.ValidateDefault Method
ArcGIS Developer Help

INetworkEvaluatorSetup.ValidateDefault Method

Indicates if the network evaluator is in a valid state for use as the default evaluator for the given element type and network attribute.

[Visual Basic .NET]
Public Function ValidateDefault ( _
    ByVal ElementType As esriNetworkElementType, _
    ByVal Attribute As IEvaluatedNetworkAttribute, _
    ByRef ErrorCode As Integer, _
    ByRef ErrorDescription As String, _
    ByRef errorAppendInfo As String _
) As Boolean
[C#]
public bool ValidateDefault (
    esriNetworkElementType ElementType,
    IEvaluatedNetworkAttribute Attribute,
    ref int ErrorCode,
    ref string ErrorDescription,
    ref string errorAppendInfo
);
[C++]
HRESULT ValidateDefault(
  esriNetworkElementType ElementType,
  IEvaluatedNetworkAttribute* Attribute,
  System.Int32* ErrorCode,
  System.String* ErrorDescription,
  System.String* errorAppendInfo
);
[C++]
Parameters
ElementType [in]

ElementType is a parameter of type esriNetworkElementType Attribute [in]
Attribute is a parameter of type IEvaluatedNetworkAttribute* ErrorCode [in, out]
ErrorCode is a parameter of type long* ErrorDescription [in, out]
ErrorDescription is a parameter of type BSTR* errorAppendInfo [in, out]
errorAppendInfo is a parameter of type BSTR*

Product Availability

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

See Also

INetworkEvaluatorSetup Interface