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


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

INetworkEvaluatorSetup.SupportsSource Method

Indicates if this network evaluator can be used as the evaluator for the given network source and network attribute.

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

Parameters Source [in]
Source is a parameter of type INetworkSource 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

TheSupportsSource method is used to determine if the evaluator can be used to assign attribute values for elements generated by the given source.  If SupportsSource is False, then the evaluator does not show up as a choice for the user in the Evaluators dialog in ArcCatalog.

See Also

INetworkEvaluatorSetup Interface