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


IMxDocumentDropTarget.CanCreate Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > ArcMapUI > ESRI.ArcGIS.ArcMapUI > Interfaces > IM > IMxDocumentDropTarget Interface > IMxDocumentDropTarget.CanCreate Method
ArcGIS Developer Help

IMxDocumentDropTarget.CanCreate Method

Indicates if targetName can be added to the Document.

[Visual Basic .NET]
Public Function CanCreate ( _
    ByVal Document As IMxDocument, _
    ByVal targetName As IName _
) As Boolean
[C#]
public bool CanCreate (
    IMxDocument Document,
    IName targetName
);

Product Availability

Available with ArcGIS Desktop.

See Also

IMxDocumentDropTarget Interface