ArcObjects Library Reference (NetworkAnalysis)  

INetworkLoader2.CheckAncillaryRoleField Method

Determines whether the given AncillaryRole field is valid.

[Visual Basic .NET]
Public Function CheckAncillaryRoleField ( _
    ByVal featureClassName As String, _
    ByVal fieldName As String _
) As esriNetworkLoaderFieldCheck
public esriNetworkLoaderFieldCheck CheckAncillaryRoleField (
    string featureClassName,
    string fieldName
HRESULT CheckAncillaryRoleField(
  BSTR featureClassName,
  BSTR fieldName,
  esriNetworkLoaderFieldCheck* pCheckCode


featureClassName [in]   featureClassName is a parameter of type BSTR fieldName [in]   fieldName is a parameter of type BSTR pCheckCode [out, retval]

  pCheckCode is a parameter of type esriNetworkLoaderFieldCheck

Product Availability

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


CheckAncillaryRoleField can only be called after the INetworkLoader::FeatureDatasetName property has been set.

See Also

INetworkLoader2 Interface

.NET Related Topics

Creating geometric networks within a geodatabase