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


INetworkEvaluatorSetup.ValidateDefault Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

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,
  long* ErrorCode,
  BSTR* ErrorDescription,
  BSTR* errorAppendInfo,
  VARIANT_BOOL* isValid
);
[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 isValid [out, retval] isValid is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

INetworkEvaluatorSetup Interface