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

IGxPasteTarget.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 > IGxPasteTarget Interface > IGxPasteTarget.CanPaste Method
ArcGIS Developer Help

IGxPasteTarget.CanPaste Method

Indicates if the specified names may be pasted into this object. 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 names As IEnumName, _
    ByRef moveOperation As Boolean _
) As Boolean
public bool CanPaste (
    IEnumName names,
    ref bool moveOperation

Product Availability

Available with ArcGIS Desktop.

See Also

IGxPasteTarget Interface