TypeConverter.TryParse(String, Type) メソッド

定義

指定された型文字列を解析します。

public bool TryParse (string formatted, out Type result);
member this.TryParse : string * Type -> bool
Public Function TryParse (formatted As String, ByRef result As Type) As Boolean

パラメーター

formatted
String

書式設定された型名。

result
Type

結果。

戻り値

true 型が解析されて読み込まれた場合は 。それ以外の場合 falseは 。

適用対象