メンバ一覧 toString | 前のメソッド 次のメソッド |
VB C# ALL プログラミング言語によるフィルタ (ここで選んだ言語で選別された説明や図だけが表示されます)
◇ 機能および役割
この WrpInteger オブジェクトのインスタンスの値を文字列に変換したもの獲得する。
◇ 所属クラス (ツーピーススタイルの場合にこのメソッドが宣言されているクラス)
AppliTech.WorkFrame.WrpInteger (ローカル)
AppliTech.WorkFrame.WrpInteger (セントラル)
または AppliTech.WrpObject8.dll の中の以下のクラスにも含まれている。
AppliTech.WrpInteger (ローカル・セントラル共通)
◇ 呼出し方
wI.toString()
(ただし wI は、クラス WrpInteger のインスタンス)
◇ 戻り値の型および意味
文字列型 (String, string)
◇ パラメタの型および意味
(パラメタなし)
◇ 例外の発生 (誤った呼出しの際に発生する例外)
(関係する例外の発生なし)
◇ 使用上のヒントと注意事項
◇ 関連事項
Java のメソッド toString にほぼ相当する。
◇ 使用例
' Visual Basic による toString の例 Public Function Derived(ByVal SizeCode As WrpInteger) As WrpDecimal If SizeCode Is Nothing Then Return Nothing End If ' デバッグ用に値を出力します。 Debug.WriteLine("UpperSize.Derived SizeCode=" & SizeCode.toString()) Dim data As ApparelSize = ApparelSizeManager.GetSize(SizeCode.IntegerV) If data Is Nothing Then Return Nothing Else Return New WrpDecimal(data.GetUpper()) End If End Function
// C# による toString の例 public WrpDecimal Derived( WrpInteger SizeCode ) { if (SizeCode == null) { return null; } // デバッグ用に値を出力します。 Debug.WriteLine("UpperSize.Derived SizeCode=" + SizeCode.toString()); ApparelSize data = ApparelSizeManager.GetSize(SizeCode.IntegerV); if (data == null) { return null; } else { return new WrpDecimal(data.GetUpper()); } }
(MANDALA.J ではこの機能に対応したクラスを提供していません。
かわりに、java.lang.Integer クラスを使用してください。)