[This is preliminary documentation and subject to change.]
Gets a flag indicating whether the instance can be pasted.
[Visual Basic] Overrides Public Function CanPaste( _ ByVal instance As Object, _ ByVal target As Object, _ ByRef willPromptUser As Boolean _ ) As Boolean _
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.
The implementation ignores the target argument and it always sets the output willPromptUser argument to true, because the Paste operation for AuthorizationPolicy objects clones the pasted policy and displays it in a new Policy Designer window.