Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Returns a value that indicates whether the IDataObject can be converted to an Ink object.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Syntax
'Declaration
Public Function CanPaste ( _
dataObject As Object _
) As Boolean
'Usage
Dim instance As Ink
Dim dataObject As Object
Dim returnValue As Boolean
returnValue = instance.CanPaste(dataObject)
public bool CanPaste(
Object dataObject
)
public:
bool CanPaste(
Object^ dataObject
)
public function CanPaste(
dataObject : Object
) : boolean
Parameters
dataObject
Type: System.ObjectThe IDataObject to inspect. The default value is null, in which case the data object on the Clipboard is used.
Return Value
Type: System.Boolean
true if the data can be converted to an Ink object; otherwise, false.
Remarks
If the supplied IDataObject is nulla null reference (Nothing in Visual Basic) (Nothing in Microsoft Visual Basic.NET), then the data object on the Clipboard is used.
Security Note: |
|---|
If using under partial trust, this method requires AllClipboard permission. See Security And Trust for more information. |
Platforms
Windows 7, Windows Vista, Windows Server 2008 R2, 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
Security Note: