Create  Edit  Diff  FrontPage  Index  Search  Changes  History  Source  RSS  wikifarm  Login

MapScript.Ja - resultCacheObj.getResult Diff

  • Added parts are displayed like this.
  • Deleted parts are displayed like this.

!!resultCacheObj.getResult メソッド
!!!説明
インデックスで与えられたここの問い合わせ結果を返す
public resultCacheMemberObj getResult(
    int i
);

Public Function getResult(ByVal i As Integer) As resultCacheMemberObj
!!resultCacheObj.bounds プロパティ
!!!説明
問い合わせ結果の範囲
public rectObj bounds {get;}

Public ReadOnly Property bounds() As rectObj
!!!サンプル
!!!!コード
Dim _map as New mapObj("")
Dim _rect as New rectObj(-125.948008, 46.735923, -121.150436, 49.859265, Nothing)
Dim _resultcache As resultCacheObj
Dim intCountRC As Integer

_map.queryByRect(_rect)
_resultcache = _layer.getResults

For intCountRC = 0 To _layer.getNumResults - 1
    Debug.WriteLine(_resultcache.getResult(intCountRC).shapeindex.ToString())
Next

→結果
1894
1895
1896
・・・
!!!!マップファイル
影響なし
!!!参照

[[resultCacheObj メンバ]] | [[(global) 名前空間|http://wiki.fdiary.net/MapScriptJa]]