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


IMxDocumentDropTarget.CanCreate Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (ArcMapUI)  

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