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


IMdModel.CanAddElement Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IM > IMdModel Interface > IMdModel.CanAddElement Method
ArcGIS Developer Help

IMdModel.CanAddElement Method

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
);
[C++]
Parameters
pElement [in]

pElement is a parameter of type IMdElement*

Product Availability

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

See Also

IMdModel Interface