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
[C#]
public esriNetworkLoaderFeatureClassCheck CanUseFeatureClass (
    string featureClassName
);
[C++]
HRESULT CanUseFeatureClass(
  BSTR featureClassName,
  esriNetworkLoaderFeatureClassCheck* pUseCode
);
[C++]

Parameters

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.

Remarks

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