DBindingCollection 接口 
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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 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 | 
			 
				已过时.
			 
		获取或设置 UpdateMode 的 DBindingCollection。  | 
        	
方法
| 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。  |