ArcObjects Library Reference (NetworkAnalysis)  

INetworkLoader2.CanUseFeatureClass Method

Determines if the given feature class can participate in a network.

[Visual Basic .NET]
Public Function CanUseFeatureClass ( _
    ByVal featureClassName As String _
) As esriNetworkLoaderFeatureClassCheck
public esriNetworkLoaderFeatureClassCheck CanUseFeatureClass (
    string featureClassName
HRESULT CanUseFeatureClass(
  BSTR featureClassName,
  esriNetworkLoaderFeatureClassCheck* pUseCode


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

  pUseCode is a parameter of type esriNetworkLoaderFeatureClassCheck

Product Availability

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


CanUseFeatureClass 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