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


INetworkLoader2.CanUseFeatureClass Method (ArcObjects .NET 10.5 SDK)
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