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,
  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

Product Availability

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

See Also

IMdModel Interface