Condividi tramite


ElementOperations.GetClipboardDataObject Method

Returns an IDataObject from the Clipboard if it contains our ElementGroupPrototype format, otherwise null.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Syntax

'Declaration
Public Shared Function GetClipboardDataObject As IDataObject
public static IDataObject GetClipboardDataObject()
public:
static IDataObject^ GetClipboardDataObject()
static member GetClipboardDataObject : unit -> IDataObject
public static function GetClipboardDataObject() : IDataObject

Return Value

Type: System.Windows.Forms.IDataObject
An IDataObject from the Clipboard if it contains our ElementGroupPrototype format, otherwise null.

.NET Framework Security

See Also

Reference

ElementOperations Class

Microsoft.VisualStudio.Modeling Namespace