This documentation is archived and is not being maintained.

IDataFormat Interface

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Note: This API is now obsolete.

Provides support for the DataFormat property of the DBinding interface.

Namespace:  Microsoft.VisualBasic.Compatibility.VB6
Assembly:  Microsoft.VisualBasic.Compatibility.Data (in Microsoft.VisualBasic.Compatibility.Data.dll)

[ObsoleteAttribute("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("AF08B280-90F2-11D0-9484-00A0C91110ED")]
public interface IDataFormat

The IDataFormat type exposes the following members.

  NameDescription
Public methodCloneInfrastructure. Creates a shallow copy of the IDataFormat.
Public methodConvertInfrastructure. Converts an IDataFormat to a Visual Basic 6.0 Variant.
Public methodDefaultInfrastructure. Determines whether an IDataFormat is the default IDataFormat.
Public methodGetBindingInfrastructure. Gets a binding for a IDataFormat.
Public methodGetDataInfrastructure. Gets the data for an IDataFormat interface.
Public methodGetLcidInfrastructure. Gets a locale ID for an IDataFormat interface.
Public methodGetRawDataInfrastructure. Gets the raw data for an IDataFormat interface.
Public methodGetSubFormatTypeInfrastructure. Gets the subformat type for an IDataFormat interface.
Public methodReleaseBindingReleases a binding for an IDataFormat interface.
Public methodReleaseDataInfrastructure. Releases the data for an IDataFormat interface.
Public methodSetDataInfrastructure. Sets the data for an IDataFormat interface.
Public methodSetLcidInfrastructure. Sets the locale ID for an IDataFormat.
Public methodSetRawDataInfrastructure. Sets the raw data for an IDataFormat.
Public methodSetSubFormatTypeInfrastructure. Sets the subformat type for an IDataFormat interface.
Top

This interface is used internally by the tools for upgrading Visual Basic 6.0 applications to Visual Basic 2010.

NoteNote

Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic 2008. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

.NET Framework

Supported in: 3.5, 3.0, 2.0
Obsolete (compiler warning) in 4

.NET Framework Client Profile

Obsolete (compiler warning) in 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: