CATable::GetSafeArray

This page is a translated version of the page CATable::GetSafeArray and the translation is 100% complete.

ADE User Guide > ADE Server Class Reference > CATable

Other languages:
English • ‎中文

CATable::GetSafeArray( )

作為一個安全數組檢索 CATable(例如,一個Visual Basic數組、.NET數組等等)。維度的順序由 SetIndexOrder 方法控制。每個維度的元素索引位置從1到N,N為每個索引的大小。

當你讀取一個具有2個或者更多維度的數組時,你應該先調用 SetIndexOrder來確保結果中維度的順序是你想要的順序。

返回值

數組

示例用法

作為一個VB數組獲取內容的Visual basic代碼

dim Var As CAObject
Dim curTable
curTable = Var.GetSafeArray

另請參考

Comments


You are not allowed to post comments.