ObjectConverter.ConvertValue メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > ObjectConverter.ConvertValue メソッドの意味・解説 

ObjectConverter.ConvertValue メソッド

オブジェクトのデータ型を別のデータ型に変換します。このクラスは今後は使用しません。代わりに Convert クラスと Format メソッドを使用してください。

名前空間: System.Web.UI
アセンブリ: System.Web (system.web.dll 内)
構文構文

Public Shared Function ConvertValue
 ( _
    value As Object, _
    toType As Type, _
    formatString As String _
) As Object
Dim value As Object
Dim toType As Type
Dim formatString As String
Dim returnValue As Object

returnValue = ObjectConverter.ConvertValue(value, toType, formatString)
public static Object ConvertValue (
    Object value,
    Type toType,
    string formatString
)
public:
static Object^ ConvertValue (
    Object^ value, 
    Type^ toType, 
    String^ formatString
)
public static Object ConvertValue (
    Object value, 
    Type toType, 
    String formatString
)
public static function ConvertValue
 (
    value : Object, 
    toType : Type, 
    formatString : String
) : Object

パラメータ

value

変換対象のオブジェクト。

toType

value パラメータの変換後の Type。

formatString

変換中に適用される書式指定文字列。

戻り値
変換後のオブジェクト。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ObjectConverter クラス
ObjectConverter メンバ
System.Web.UI 名前空間



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

ObjectConverter.ConvertValue メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



ObjectConverter.ConvertValue メソッドのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS