Aracılığıyla paylaş


IParsable<TSelf>.Parse(String, IFormatProvider) Yöntem

Tanım

Bir dizeyi bir değere ayrıştırıyor.

public:
 static TSelf Parse(System::String ^ s, IFormatProvider ^ provider);
public static TSelf Parse (string s, IFormatProvider? provider);
static member Parse : string * IFormatProvider -> 'Self
Public Shared Function Parse (s As String, provider As IFormatProvider) As TSelf

Parametreler

s
String

Ayrıştıracak dize.

provider
IFormatProvider

hakkında skültüre özgü biçimlendirme bilgileri sağlayan bir nesne.

Döndürülenler

TSelf

ayrıştırma ssonucu.

Özel durumlar

s, null değeridir.

s doğru biçimde değil.

s tarafından TSelftemsil edilemez.

Şunlara uygulanır