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


IMdElement.IsDependentOn Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geoprocessing)  

IMdElement.IsDependentOn Method

Returns whether or not the model element is dependent on the given model element in the given direction of the given connection type.

[Visual Basic .NET]
Public Function IsDependentOn ( _
    ByVal pMdElement As IMdElement, _
    ByVal Direction As esriMdDirection, _
    ByVal ConnectionType As esriMdConnectionType _
) As Boolean
[C#]
public bool IsDependentOn (
    IMdElement pMdElement,
    esriMdDirection Direction,
    esriMdConnectionType ConnectionType
);
[C++]
HRESULT IsDependentOn(
  IMdElement* pMdElement,
  esriMdDirection Direction,
  esriMdConnectionType ConnectionType,
  VARIANT_BOOL* pDependentOn
);
[C++]

Parameters pMdElement [in]
pMdElement is a parameter of type IMdElement Direction [in]
Direction is a parameter of type esriMdDirection ConnectionType [in]
ConnectionType is a parameter of type esriMdConnectionType pDependentOn [out, retval] pDependentOn is a parameter of type VARIANT_BOOL

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IMdElement Interface