Compartir a través de


Ink.CanPaste Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink (in Microsoft.Ink.dll)

Syntax

'Declaration
<UIPermissionAttribute(SecurityAction.Demand, Clipboard := UIPermissionClipboard.AllClipboard)> _
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name := "FullTrust")> _
Public Function CanPaste As Boolean
'Usage
Dim instance As Ink
Dim returnValue As Boolean

returnValue = instance.CanPaste()
[UIPermissionAttribute(SecurityAction.Demand, Clipboard = UIPermissionClipboard.AllClipboard)]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
public bool CanPaste()
[UIPermissionAttribute(SecurityAction::Demand, Clipboard = UIPermissionClipboard::AllClipboard)]
[PermissionSetAttribute(SecurityAction::InheritanceDemand, Name = L"FullTrust")]
public:
bool CanPaste()
public function CanPaste() : boolean
[<UIPermissionAttribute(SecurityAction.Demand, Clipboard = UIPermissionClipboard.AllClipboard)>]
[<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")>]
member CanPaste : unit -> bool 

Return Value

Type: System.Boolean

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008

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: 3.0

See Also

Reference

Ink Class

Ink Members

CanPaste Overload

Microsoft.Ink Namespace