IDataObjectProvider interface (shobjidl_core.h)

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.

Inheritance

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

Methods

The IDataObjectProvider interface has these methods.

 
IDataObjectProvider::GetDataObject

Gets an IDataObject representation of the current DataPackage object.
IDataObjectProvider::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

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)

See also

IUnknown