StandardFormat.TryParse(ReadOnlySpan<Char>, StandardFormat) StandardFormat.TryParse(ReadOnlySpan<Char>, StandardFormat) StandardFormat.TryParse(ReadOnlySpan<Char>, StandardFormat) StandardFormat.TryParse(ReadOnlySpan<Char>, StandardFormat) Method

定義

StandardFormat インスタンスへの ReadOnlySpan<Char> の変換を試みて、解析操作が成功したかどうかを示す値を返します。Attempts to convert a ReadOnlySpan<Char> to a StandardFormat instance and returns a value that indicates whether the parsing operation succeeded.

public:
 static bool TryParse(ReadOnlySpan<char> format, [Runtime::InteropServices::Out] System::Buffers::StandardFormat % result);
public static bool TryParse (ReadOnlySpan<char> format, out System.Buffers.StandardFormat result);
static member TryParse : ReadOnlySpan<char> *  -> bool
Public Shared Function TryParse (format As ReadOnlySpan(Of Char), ByRef result As StandardFormat) As Boolean

パラメーター

format
ReadOnlySpan<Char>

変換対象の文字が含まれる読み取り専用のスパン。A read-only span that contains the character to convert.

result
StandardFormat StandardFormat StandardFormat StandardFormat

操作が正常に終了した場合は、メソッドから戻るときに、解析された StandardFormat インスタンスが格納されます。When the method returns, contains the parsed StandardFormat instance if the operation was successful.

戻り値

解析操作が正常に実行された場合は true。それ以外の場合は falsetrue if the parsing operation was successful; otherwise, false.

適用対象