DBindingCollection 介面

定義

警告

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

重要

此 API 不符合 CLS 規範。

符合 CLS 規範替代方案
System.Windows.Forms.BindingsCollection

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

public interface class DBindingCollection : System::Collections::IEnumerable
[System.CLSCompliant(false)]
public interface DBindingCollection : System.Collections.IEnumerable
[System.CLSCompliant(false)]
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public interface DBindingCollection : System.Collections.IEnumerable
[<System.CLSCompliant(false)>]
type DBindingCollection = interface
    interface IEnumerable
[<System.CLSCompliant(false)>]
[<System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")>]
type DBindingCollection = interface
    interface IEnumerable
Public Interface DBindingCollection
Implements IEnumerable
衍生
屬性
實作

備註

注意

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

屬性

Count
已淘汰.

取得 DBindingCollection 中的繫結總數。

DataMember
已淘汰.

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

DataSource
已淘汰.

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

Item[Object]
已淘汰.

取得指定索引處的 DBinding

UpdateMode
已淘汰.

取得或設定 UpdateModeDBindingCollection

方法

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

DBinding 加入至 DBindingCollection

Clear()
已淘汰.

清除繫結物件的集合。

GetEnumerator()
已淘汰.

傳回逐一查看集合的列舉值。

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

DBinding 移除 DBindingCollection 介面。

UpdateControls()
已淘汰.

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

擴充方法

Cast<TResult>(IEnumerable)
已淘汰.

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

OfType<TResult>(IEnumerable)
已淘汰.

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

AsParallel(IEnumerable)
已淘汰.

啟用查詢的平行化作業。

AsQueryable(IEnumerable)
已淘汰.

IEnumerable 轉換成 IQueryable

適用於