値を指定された Type に変換します。
IFormatterConverter 型は CLS との互換性がありません。CLS との互換性に関する詳細については 「共通言語仕様の概要」 を参照してください。
Function Convert( _
ByVal value As Object, _ ByVal type As Type _) As Object
[C#]
object Convert(
objectvalue,Typetype);
[C++]
Object* Convert(
Object* value,Type* type);
[JScript]
function Convert(
value : Object,type : Type) : Object;
パラメータ
- value
変換されるオブジェクト。 - type
値の変換後の Type 。
戻り値
変換後の値。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
IFormatterConverter インターフェイス | IFormatterConverter メンバ | System.Runtime.Serialization 名前空間 | IFormatterConverter.Convert オーバーロードの一覧