This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > NetworkAnalysis > ESRI.ArcGIS.NetworkAnalysis > Interfaces > IN > INetworkLoader2 Interface > INetworkLoader2.CanUseFeatureClass Method (ArcObjects .NET 10.4 SDK) |
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
CanUseFeatureClass can only be called after the INetworkLoader::FeatureDatasetName property has been set.