ADODC.OrientationEnum 列舉

定義

警告

此 API 現已淘汰。

提供與 Visual Basic 6.0 Orientation 屬性相容的常數。Provides constants for compatibility with the Visual Basic 6.0 Orientation property.

public: enum class ADODC::OrientationEnum
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. https://go.microsoft.com/fwlink/?linkid=160862")]
public enum ADODC.OrientationEnum
type ADODC.OrientationEnum = 
Public Enum ADODC.OrientationEnum
繼承
ADODC.OrientationEnum
屬性

欄位

adHorizontal 0

ADODC 會水平顯示。The ADODC will be displayed horizontally.

adVertical 1

ADODC 會垂直顯示。The ADODC will be displayed vertically.

備註

在 Visual Basic 6.0 中,Orientation 屬性是用來指定是否以水準或垂直方向顯示 ADODataControlIn Visual Basic 6.0, the Orientation property was used to specify whether a ADODataControl was displayed with a horizontal or vertical orientation.

注意

Microsoft.VisualBasic.Compatibility.VB6 命名空間中的函式和物件都是供這些工具使用,以便從 Visual Basic 6.0 升級至 Visual Basic。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. 在大多數情況下,這些函式和物件會複製在 .NET Framework.NET Framework 的其他命名空間中可以找到的功能。In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework.NET Framework. 只有當 Visual Basic 6.0 程式碼模型與 .NET Framework.NET Framework 實作有顯著差異時,才需要這些項目。They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework.NET Framework implementation.

適用於