This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetElements Interface > INetElements.IsValidElement Method (ArcObjects .NET 10.5 SDK) |
Returns whether the specified element is part of the network.
[Visual Basic .NET] Public Function IsValidElement ( _ ByVal EID As Integer, _ ByVal ElementType As esriElementType _ ) As Boolean
[C#] public bool IsValidElement ( int EID, esriElementType ElementType );
[C++]
HRESULT IsValidElement(
long EID,
esriElementType ElementType,
VARIANT_BOOL* validState
);
[C++]
Parameters EID [in] EID is a parameter of type long ElementType [in]
ElementType is a parameter of type esriElementType validState [out, retval] validState is a parameter of type VARIANT_BOOL