Returns the number of network element IDs (EIDs) corresponding to the specified user class ID and user ID.
[Visual Basic .NET] Public Function GetEIDCount ( _ ByVal UserClassID As Integer, _ ByVal UserID As Integer, _ ByVal ElementType As esriElementType _ ) As Integer
[C#] public int GetEIDCount ( int UserClassID, int UserID, esriElementType ElementType );
[C++]
HRESULT GetEIDCount(
long UserClassID,
long UserID,
esriElementType ElementType,
long* eIDCount
);
[C++]Parameters
UserClassID [in] UserClassID is a parameter of type long UserID [in] UserID is a parameter of type long ElementType [in]ElementType is a parameter of type esriElementType
eIDCount [out, retval] eIDCount is a parameter of type long
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Remarks
Pass in a valid UserClassID, UserID, and esriElementType and the number of corresponding Element IDs (EIDs) in the logical network is returned. If no network elements match the given UserClassID, UserID, and esriElementType, then 0 is returned.
If the network is part of a geometric network, then the UserClassID and UserID correspond to the FeatureClassID and OID of the feature. For complex edge and junction features, this method returns then number of corresponding Element IDs (EIDs) in the logical network. For simple edge and junction features, this method will return 1.