ADODC.CursorType 屬性

定義

重要

此 API 不符合 CLS 規範。

取得或設定值,這個值指定從指定的查詢開啟結果集時,所要使用的預設資料指標類型。

public:
 property ADODB::CursorTypeEnum CursorType { ADODB::CursorTypeEnum get(); void set(ADODB::CursorTypeEnum value); };
[Microsoft.VisualBasic.Compatibility.VB6.SRDescription("ADODC_DESCCursorType")]
[System.CLSCompliant(false)]
public ADODB.CursorTypeEnum CursorType { get; set; }
[<Microsoft.VisualBasic.Compatibility.VB6.SRDescription("ADODC_DESCCursorType")>]
[<System.CLSCompliant(false)>]
member this.CursorType : ADODB.CursorTypeEnum with get, set
Public Property CursorType As CursorTypeEnum

屬性值

ADODB.CursorTypeEnum

ADODB.CursorTypeEnum 列舉型別,指定要使用的資料指標類型。

屬性

備註

決定開啟 Recordset時要使用的數據指標類型。

注意

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

適用於