Skip to main content
IDataObjectProvider interface

Provides methods that enable you to set or retrieve a DataPackage object's IDataObject interface, which the DataPackage uses to support interoperability. The DataPackage object is used by an app to provide data to another app.

Members

The IDataObjectProvider interface inherits from the IUnknown interface. IDataObjectProvider also has these types of members:

Methods

The IDataObjectProvider interface has these methods.

MethodDescription
GetDataObject

Gets an IDataObject representation of the current DataPackage object.

SetDataObject

Wraps an IDataObject instance as a Windows Runtime DataPackage.

 

Remarks

When to implement

Do not implement this interface. An implementation is provided as part of the DataPackage object.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl