[This is preliminary documentation and subject to change.]
Gets a flag indicating whether the instance can be pasted into the target AuthorizationPolicy.
[Visual Basic] Overrides Public Function CanPaste( _ ByVal instance As Object, _ ByVal target As Object, _ ByRef willPromptUser As Boolean _ ) As Boolean _
[C#] public override bool CanPaste( objectinstance, objecttarget, ref boolwillPromptUser );
Parameters
instance
The instance being pasted.
target
A reference to an AuthorizationPolicy instance that will own the pasted instance.
willPromptUser
An output flag indicating whether the handler will display a dialog prompt before pasting the object (true) or the paste operation won't require further user interaction (false).
Return Value
true if the instance can be pasted; otherwise false.