This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IM > IMdModel Interface > IMdModel.CanAddElement Method (ArcObjects .NET 10.4 SDK) |
Returns whether or not the given model element can be added to the model.
[Visual Basic .NET] Public Function CanAddElement ( _ ByVal pElement As IMdElement _ ) As Boolean
[C#] public bool CanAddElement ( IMdElement pElement );
[C++]
HRESULT CanAddElement(
IMdElement* pElement,
VARIANT_BOOL* pCanAdd
);
[C++]
Parameters pElement [in]
pElement is a parameter of type IMdElement pCanAdd [out, retval] pCanAdd is a parameter of type VARIANT_BOOL