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) |
已过时.
将 a DBinding 添加到 .DBindingCollection |
| Clear() |
已过时.
清除绑定对象的集合。 |
| GetEnumerator() |
已过时.
返回循环访问集合的枚举器。 (继承自 IEnumerable) |
| Remove(Object) |
已过时.
从 DBindingDBindingCollection.. 中删除接口 |
| UpdateControls() |
已过时.
从 DBindingCollection 对象的数据源中获取当前行,并重置通过对象绑定的控件的内容。 |
扩展方法
| 名称 | 说明 |
|---|---|
| AsParallel(IEnumerable) |
已过时.
启用查询的并行化。 |
| AsQueryable(IEnumerable) |
已过时.
将 IEnumerable 转换为 IQueryable。 |
| Cast<TResult>(IEnumerable) |
已过时.
将 IEnumerable 的元素强制转换为指定类型。 |
| OfType<TResult>(IEnumerable) |
已过时.
根据指定类型筛选 IEnumerable 的元素。 |