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
[C#]
public esriNetworkLoaderFieldCheck CheckAncillaryRoleField (
    string featureClassName,
    string fieldName
);
[C++]
HRESULT CheckAncillaryRoleField(
  BSTR featureClassName,
  BSTR fieldName,
  esriNetworkLoaderFieldCheck* pCheckCode
);
[C++]

Parameters

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.

Remarks

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 |