BaseDataEnvironment.Commands[] 属性

定义

获取 ADODB.Command 对象的集合以便在从 Visual Basic 6.0 升级的应用程序中使用。Gets a collection of ADODB.Command objects for use in an application upgraded from Visual Basic 6.0.

重载

Commands

获取 ADODB.Command 对象的集合以便在从 Visual Basic 6.0 升级的应用程序中使用。Gets a collection of ADODB.Command objects for use in an application upgraded from Visual Basic 6.0.

Commands[Object]

获取 ADODB.Command 对象的集合以便在从 Visual Basic 6.0 升级的应用程序中使用。Gets a collection of ADODB.Command objects for use in an application upgraded from Visual Basic 6.0.

Commands

获取 ADODB.Command 对象的集合以便在从 Visual Basic 6.0 升级的应用程序中使用。Gets a collection of ADODB.Command objects for use in an application upgraded from Visual Basic 6.0.

public:
 property Microsoft::VisualBasic::Collection ^ Commands { Microsoft::VisualBasic::Collection ^ get(); };
public Microsoft.VisualBasic.Collection Commands { get; }
member this.Commands : Microsoft.VisualBasic.Collection
Public ReadOnly Property Commands As Collection

属性值

Collection

ADODB.Command 对象的集合。A collection of ADODB.Command objects.

注解

当应用程序升级到 Visual Basic 时, BaseDataEnvironment 将创建一个来启用 ADO 相关的代码。When an application is upgraded to Visual Basic, a BaseDataEnvironment is created to enable the ADO-related code.

备注

Microsoft.VisualBasic.Compatibility.VB6 命名空间中的函数和对象用于工具从 Visual Basic 6.0 升级到 Visual Basic 2008。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. 多数情况下,这些函数和对象可再现 .NET Framework 中其他命名空间的功能。In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. 只有当 Visual Basic 6.0 代码模型与 .NET Framework 实现有显著区别时,才必须使用这些函数和对象。They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

适用于

Commands[Object]

重要

此 API 不符合 CLS。

获取 ADODB.Command 对象的集合以便在从 Visual Basic 6.0 升级的应用程序中使用。Gets a collection of ADODB.Command objects for use in an application upgraded from Visual Basic 6.0.

public:
 property ADODB::Command ^ Commands[System::Object ^] { ADODB::Command ^ get(System::Object ^ lpVar); };
[System.CLSCompliant(false)]
public ADODB.Command Commands[object lpVar] { get; }
[<System.CLSCompliant(false)>]
member this.Commands(obj) : ADODB.Command
Public ReadOnly Property Commands(lpVar As Object) As Command

参数

lpVar
Object

一个 Visual Basic 6.0 Variant,其中包含 ADODB.Command 对象。A Visual Basic 6.0 Variant that contains the ADODB.Command objects.

属性值

ADODB.Command

ADODB.Command 对象的集合。A collection of ADODB.Command objects.

属性

注解

当应用程序升级到 Visual Basic 时, BaseDataEnvironment 将创建一个来启用 ADO 相关的代码。When an application is upgraded to Visual Basic, a BaseDataEnvironment is created to enable the ADO-related code.

备注

Microsoft.VisualBasic.Compatibility.VB6 命名空间中的函数和对象用于工具从 Visual Basic 6.0 升级到 Visual Basic 2008。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. 多数情况下,这些函数和对象可再现 .NET Framework 中其他命名空间的功能。In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. 只有当 Visual Basic 6.0 代码模型与 .NET Framework 实现有显著区别时,才必须使用这些函数和对象。They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

适用于