Windows apps
Collapse the table of content
Expand the table of content

DATADIR Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Specifies the direction of the data flow in the dwDirection parameter of the EnumFormatEtc method. This determines the formats that the resulting enumerator can enumerate.

Namespace:   System.Runtime.InteropServices.ComTypes
Assembly:  System (in System.dll)

public enum DATADIR

Member nameDescription
DATADIR_GET

Requests that EnumFormatEtc supply an enumerator for the formats that can be specified in GetData.

DATADIR_SET

Requests that EnumFormatEtc supply an enumerator for the formats that can be specified in SetData.

For more information about DATADIR, see the MSDN Library.

The common language runtime throws an exception when a COM method in native code returns an HRESULT. For more information, see How to: Map HRESULTs and Exceptions.

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show:
© 2018 Microsoft