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


IGxPasteTargetHelper.CanPaste Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Catalog > ESRI.ArcGIS.Catalog > Interfaces > IG > IGxPasteTargetHelper Interface > IGxPasteTargetHelper.CanPaste Method
ArcGIS Developer Help

IGxPasteTargetHelper.CanPaste Method

Indicates if the specified name object may be pasted into the given target. On output, moveOperation indicates if a subsequent paste operation would represent a move, or merely a copy, operation.

[Visual Basic .NET]
Public Function CanPaste ( _
    ByVal Name As IName, _
    ByVal Target As IGxObject, _
    ByRef moveOperation As Boolean _
) As Boolean
[C#]
public bool CanPaste (
    IName Name,
    IGxObject Target,
    ref bool moveOperation
);

Product Availability

Available with ArcGIS Desktop.

See Also

IGxPasteTargetHelper Interface