This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > ArcMapUI > ESRI.ArcGIS.ArcMapUI > Interfaces > IM > IMxDocumentDropTarget Interface > IMxDocumentDropTarget.CanCreate Method (ArcObjects .NET 10.4 SDK) |
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 );