Edit

Share via


IDataFormat Interface

Definition

Caution

Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862

Provides support for the DataFormat property of the DBinding interface.

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

public interface class IDataFormat
[System.Runtime.InteropServices.Guid("AF08B280-90F2-11D0-9484-00A0C91110ED")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IDataFormat
[System.Runtime.InteropServices.Guid("AF08B280-90F2-11D0-9484-00A0C91110ED")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public interface IDataFormat
[<System.Runtime.InteropServices.Guid("AF08B280-90F2-11D0-9484-00A0C91110ED")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IDataFormat = interface
[<System.Runtime.InteropServices.Guid("AF08B280-90F2-11D0-9484-00A0C91110ED")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")>]
type IDataFormat = interface
Public Interface IDataFormat
Attributes

Remarks

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

Note

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.

Methods

Clone(IDataFormat)

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

Creates a shallow copy of the IDataFormat.

Convert(Int32, Object, Object)

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

Converts an IDataFormat to a Visual Basic 6.0 Variant.

Default(Boolean)

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

Determines whether an IDataFormat is the default IDataFormat.

GetBinding(VarEnum, Int32, IRowset, DBCOLUMNINFO, DBBINDING, Int32, Int32)

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

Gets a binding for a IDataFormat.

GetData(Int32, IntPtr, Object, Int32, Object)

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

Gets the data for an IDataFormat interface.

GetLcid(Int32)

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

Gets a locale ID for an IDataFormat interface.

GetRawData(Int32, IntPtr, Object, Int32)

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

Gets the raw data for an IDataFormat interface.

GetSubFormatType(Int32)

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

Gets the subformat type for an IDataFormat interface.

ReleaseBinding(Int32)

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

Releases a binding for an IDataFormat interface.

ReleaseData(Int32, IntPtr)

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

Releases the data for an IDataFormat interface.

SetData(Int32, Object, IntPtr, Object)

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

Sets the data for an IDataFormat interface.

SetLcid(Int32)

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

Sets the locale ID for an IDataFormat.

SetRawData(Int32, Object, IntPtr)

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

Sets the raw data for an IDataFormat.

SetSubFormatType(Int32)

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

Sets the subformat type for an IDataFormat interface.

Applies to