This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IM > IMdElement Interface > IMdElement.IsDependentOn Method (ArcObjects .NET 10.5 SDK) |
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