Düzenle

Aracılığıyla paylaş


TypeConverter.TryParse(String, Type) Method

Definition

Parses the provided type string.

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

Parameters

formatted
String

The formatted type name.

result
Type

The result.

Returns

true if the type was parsed and loaded; otherwise false.

Applies to