แก้ไข

แชร์ผ่าน


MBinding Class

Definition

Caution

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

Enables Windows Forms controls to be bound to ADO recordsets. This type is a managed equivalent of the Visual Basic 6.0 msbind library.

public ref class MBinding : IDisposable, Microsoft::VisualBasic::Compatibility::VB6::DBinding
[System.Runtime.InteropServices.Guid("7619A54D-8919-4f21-BE7D-C8E5ACE5FC0D")]
public class MBinding : IDisposable, Microsoft.VisualBasic.Compatibility.VB6.DBinding
[System.Runtime.InteropServices.Guid("7619A54D-8919-4f21-BE7D-C8E5ACE5FC0D")]
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public class MBinding : IDisposable, Microsoft.VisualBasic.Compatibility.VB6.DBinding
[<System.Runtime.InteropServices.Guid("7619A54D-8919-4f21-BE7D-C8E5ACE5FC0D")>]
type MBinding = class
    interface DBinding
    interface IDisposable
[<System.Runtime.InteropServices.Guid("7619A54D-8919-4f21-BE7D-C8E5ACE5FC0D")>]
[<System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")>]
type MBinding = class
    interface DBinding
    interface IDisposable
Public Class MBinding
Implements DBinding, IDisposable
Inheritance
MBinding
Attributes
Implements

Remarks

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.

Properties

DataChanged

Gets or sets a value indicating whether data has changed.

DataField

Gets a data field.

DataFormat

Gets or sets the data format for a data field.

Key

Gets the key value for a data field.

Object

Gets a data object.

PropertyName

Gets the name of a property from a data object.

Methods

Dispose()

Releases the unmanaged resources that are used by an MBinding.

Dispose(Boolean)

Releases the unmanaged resources that are used by an MBinding and, optionally, releases the managed resources.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to