ISourceContainer.CanPasteItems Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns a Boolean that indicates whether the specified objects can be pasted.
Namespace: System.Activities.Design
Assembly: System.Activities.Design (in System.Activities.Design.dll)
Syntax
'Declaration
Function CanPasteItems ( _
itemsToPaste As List(Of Object) _
) As Boolean
'Usage
Dim instance As ISourceContainer
Dim itemsToPaste As List(Of Object)
Dim returnValue As Boolean
returnValue = instance.CanPasteItems(itemsToPaste)
bool CanPasteItems(
List<Object> itemsToPaste
)
bool CanPasteItems(
List<Object^>^ itemsToPaste
)
function CanPasteItems(
itemsToPaste : List<Object>
) : boolean
abstract CanPasteItems :
itemsToPaste:List<Object> -> bool
Parameters
- itemsToPaste
Type: System.Collections.Generic.List<Object>
The item to be pasted.
Return Value
Type: System.Boolean
true if the number of the specified objects is more than 0 and not nulla null reference (Nothing in Visual Basic); otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Platforms
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 4