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


IMdModel.CanAddElement Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geoprocessing)  

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