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

MapScript.Ja - classObj.getExpressionString Diff

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

!!classObj.getExpressionString メソッド

!!!説明
setExpressionで設定された''に囲まれた式を返す。
public string getExpressionString();

Public Function getExpressionString() As String

!!!サンプル
!!!!コード
Dim _map As mapObj = New mapObj("")
Dim _layer As layerObj = New layerObj(_map)
Dim _class As classObj = New classObj(_layer)
Dim intRet As Integer

intRet = _class.setExpression("ID")
Debug.WriteLine("Retuen:" & intRet.ToString & "," & _class.getExpressionString)
→結果 Retuen:0,"ID"
!!!!マップファイル
    CLASS
      EXPRESSION "ID"
      METADATA
      END
    END
!!!参照
[[classObj メンバ]] | [[(global) 名前空間|http://wiki.fdiary.net/MapScriptJa]]