MBindingCollection 類別

定義

警告

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

提供介面,以取代從 Visual Basic 6.0 升級的應用程式中的 COM 架構資料繫結。

public ref class MBindingCollection : IDisposable, Microsoft::VisualBasic::Compatibility::VB6::DBindingCollection
public class MBindingCollection : IDisposable, Microsoft.VisualBasic.Compatibility.VB6.DBindingCollection
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public class MBindingCollection : IDisposable, Microsoft.VisualBasic.Compatibility.VB6.DBindingCollection
type MBindingCollection = class
    interface DBindingCollection
    interface IDisposable
[<System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")>]
type MBindingCollection = class
    interface DBindingCollection
    interface IDisposable
Public Class MBindingCollection
Implements DBindingCollection, IDisposable
繼承
MBindingCollection
屬性
實作

備註

注意

Microsoft.VisualBasic.Compatibility.VB6 命名空間中的函式和物件都是供這些工具使用,以便從 Visual Basic 6.0 升級至 Visual Basic。 在大多數情況下,這些函式和物件會複製在 .NET Framework 其他命名空間中可以找到的功能。 只有當 Visual Basic 6.0 程式碼模型與 .NET Framework 實作有顯著差異時,才會需要這些函式和物件。

建構函式

MBindingCollection()
已淘汰.

初始化 MBindingCollection 的執行個體。

屬性

Count
已淘汰.

取得 MBindingCollection 中的繫結總數。

DataMember
已淘汰.

取得或設定 MBindingCollection 的資料成員。

DataSource
已淘汰.

取得或設定 MBindingCollection 的資料來源。

Item[Object]
已淘汰.

取得指定索引處的 MBinding

UpdateMode
已淘汰.

取得或設定 UpdateModeMBindingCollection

方法

Add(Object, String, String, IDataFormatDisp, String)
已淘汰.

MBinding 加入至 MBindingCollection

Add(Object, String, String, IDataFormatDisp, String, Boolean)
已淘汰.

MBinding 加入至 MBindingCollection

Clear()
已淘汰.

清除繫結物件的集合。

Dispose()
已淘汰.

釋放 MBindingCollection 所使用的 Unmanaged 資源。

Dispose(Boolean)
已淘汰.

釋放 MBindingCollection 所使用的 Unmanaged 資源,並選擇性地釋放 Managed 資源。

Equals(Object)
已淘汰.

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetEnumerator()
已淘汰.

取得 MBindingCollection 的列舉值。

GetHashCode()
已淘汰.

做為預設雜湊函式。

(繼承來源 Object)
GetType()
已淘汰.

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()
已淘汰.

建立目前 Object 的淺層複製。

(繼承來源 Object)
Remove(Object)
已淘汰.

MBinding 移除 MBindingCollection 介面。

SavePendingChanges()
已淘汰.

判斷是否要將變更儲存在 MBindingCollection

ToString()
已淘汰.

傳回代表目前物件的字串。

(繼承來源 Object)
UpdateControls()
已淘汰.

MBindingCollection 物件的資料來源取得目前的資料列,並重設透過物件繫結的控制項內容。

擴充方法

Cast<TResult>(IEnumerable)
已淘汰.

IEnumerable 的項目轉換成指定的型別。

OfType<TResult>(IEnumerable)
已淘汰.

根據指定的型別來篩選 IEnumerable 的項目。

AsParallel(IEnumerable)
已淘汰.

啟用查詢的平行化作業。

AsQueryable(IEnumerable)
已淘汰.

IEnumerable 轉換成 IQueryable

適用於