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
- 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.