IOleObject.GetClipboardData Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'宣言
Sub GetClipboardData ( _
dwReserved As UInteger, _
<OutAttribute> ByRef ppDataObject As IDataObject _
)
'使用
Dim instance As IOleObject
Dim dwReserved As UInteger
Dim ppDataObject As IDataObject
instance.GetClipboardData(dwReserved, _
ppDataObject)
void GetClipboardData(
uint dwReserved,
out IDataObject ppDataObject
)
void GetClipboardData(
[InAttribute] unsigned int dwReserved,
[OutAttribute] IDataObject^% ppDataObject
)
function GetClipboardData(
dwReserved : uint,
ppDataObject : IDataObject
)
Parameters
- dwReserved
Type: System.UInt32
- ppDataObject
Type: Microsoft.VisualStudio.OLE.Interop.IDataObject%
Remarks
For information on the COM interface, see IOleObject::GetClipboardData
Permissions
- 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.