Share via


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 (in Microsoft.VisualStudio.Modeling.Sdk.dll)

Syntax

'Declaration
Public Shared Function GetClipboardDataObject As IDataObject
'Usage
Dim returnValue As IDataObject 

returnValue = ElementOperations.GetClipboardDataObject()
public static IDataObject GetClipboardDataObject()
public:
static IDataObject^ GetClipboardDataObject()
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

ElementOperations Members

Microsoft.VisualStudio.Modeling Namespace