System::TimeSpan::TryParseExact methode
TimeSpan::TryParseExact(const String&, const ArrayPtr<String>&, const SharedPtr<Globalization::CultureInfo>&, Globalization::TimeSpanStyles, TimeSpan&) method
static bool System::TimeSpan::TryParseExact(const String &input, const ArrayPtr<String> &formats, const SharedPtr<Globalization::CultureInfo> &culture, Globalization::TimeSpanStyles styles, TimeSpan &result)
Zie ook
- Class String
- Typedef ArrayPtr
- Typedef SharedPtr
- Class CultureInfo
- Enum TimeSpanStyles
- Class TimeSpan
- Class TimeSpan
- Namespace System
- Library Aspose.Page for C++
TimeSpan::TryParseExact(const String&, const ArrayPtr<String>&, const SharedPtr<Globalization::CultureInfo>&, TimeSpan&) method
static bool System::TimeSpan::TryParseExact(const String &input, const ArrayPtr<String> &formats, const SharedPtr<Globalization::CultureInfo> &culture, TimeSpan &result)
Zie ook
- Class String
- Typedef ArrayPtr
- Typedef SharedPtr
- Class CultureInfo
- Class TimeSpan
- Class TimeSpan
- Namespace System
- Library Aspose.Page for C++
TimeSpan::TryParseExact(const String&, const ArrayPtr<String>&, const SharedPtr<Globalization::DateTimeFormatInfo>&, Globalization::TimeSpanStyles, TimeSpan&) method
static bool System::TimeSpan::TryParseExact(const String &input, const ArrayPtr<String> &formats, const SharedPtr<Globalization::DateTimeFormatInfo> &dtfi, Globalization::TimeSpanStyles styles, TimeSpan &result)
Zie ook
- Class String
- Typedef ArrayPtr
- Typedef SharedPtr
- Class DateTimeFormatInfo
- Enum TimeSpanStyles
- Class TimeSpan
- Class TimeSpan
- Namespace System
- Library Aspose.Page for C++
TimeSpan::TryParseExact(const String&, const ArrayPtr<String>&, const SharedPtr<Globalization::DateTimeFormatInfo>&, TimeSpan&) method
static bool System::TimeSpan::TryParseExact(const String &input, const ArrayPtr<String> &formats, const SharedPtr<Globalization::DateTimeFormatInfo> &dtfi, TimeSpan &result)
Zie ook
- Class String
- Typedef ArrayPtr
- Typedef SharedPtr
- Class DateTimeFormatInfo
- Class TimeSpan
- Class TimeSpan
- Namespace System
- Library Aspose.Page for C++
TimeSpan::TryParseExact(const String&, const ArrayPtr<String>&, const SharedPtr<IFormatProvider>&, Globalization::TimeSpanStyles, TimeSpan&) method
Converteert een tekenreeks naar een equivalent TimeSpan object met behulp van de opgegeven indelingen, formatprovider en stijlen, en retourneert het resultaat van de conversie.
static bool System::TimeSpan::TryParseExact(const String &input, const ArrayPtr<String> &formats, const SharedPtr<IFormatProvider> &provider, Globalization::TimeSpanStyles styles, TimeSpan &result)
| Parameter | Type | Beschrijving |
|---|---|---|
| invoer | const String& | Invoertekenreeks. |
| formats | const ArrayPtr<String>& | Array van formatstrings. |
| provider | const SharedPtr<IFormatProvider>& | Formatprovider die cultuurspecifieke opmaakinformatie levert. |
| stijlen | Globalization::TimeSpanStyles | Definieert elementen die aanwezig kunnen zijn in de invoerstring. |
| result | TimeSpan\& | Tijdsinterval dat overeenkomt met de string. |
ReturnValue
Waar als de tekenreeks succesvol is geconverteerd; anders onwaar.
Zie ook
- Class String
- Typedef ArrayPtr
- Typedef SharedPtr
- Class IFormatProvider
- Enum TimeSpanStyles
- Class TimeSpan
- Class TimeSpan
- Namespace System
- Library Aspose.Page for C++
TimeSpan::TryParseExact(const String&, const ArrayPtr<String>&, const SharedPtr<IFormatProvider>&, TimeSpan&) method
Converteert een tekenreeks naar een equivalent TimeSpan object met behulp van de opgegeven indelingen en formatprovider, en retourneert het resultaat van de conversie.
static bool System::TimeSpan::TryParseExact(const String &input, const ArrayPtr<String> &formats, const SharedPtr<IFormatProvider> &provider, TimeSpan &result)
| Parameter | Type | Beschrijving |
|---|---|---|
| invoer | const String& | Invoertekenreeks. |
| formats | const ArrayPtr<String>& | Array van formatstrings. |
| provider | const SharedPtr<IFormatProvider>& | Formatprovider die cultuurspecifieke opmaakinformatie levert. |
| result | TimeSpan\& | Tijdsinterval dat overeenkomt met de string. |
ReturnValue
Waar als de tekenreeks succesvol is geconverteerd; anders onwaar.
Zie ook
- Class String
- Typedef ArrayPtr
- Typedef SharedPtr
- Class IFormatProvider
- Class TimeSpan
- Class TimeSpan
- Namespace System
- Library Aspose.Page for C++
TimeSpan::TryParseExact(const String&, const ArrayPtr<String>&, std::nullptr_t, Globalization::TimeSpanStyles, TimeSpan&) method
static bool System::TimeSpan::TryParseExact(const String &input, const ArrayPtr<String> &formats, std::nullptr_t, Globalization::TimeSpanStyles styles, TimeSpan &result)
Zie ook
- Class String
- Typedef ArrayPtr
- Enum TimeSpanStyles
- Class TimeSpan
- Class TimeSpan
- Namespace System
- Library Aspose.Page for C++
TimeSpan::TryParseExact(const String&, const ArrayPtr<String>&, std::nullptr_t, TimeSpan&) method
static bool System::TimeSpan::TryParseExact(const String &input, const ArrayPtr<String> &formats, std::nullptr_t, TimeSpan &result)
Zie ook
TimeSpan::TryParseExact(const String&, const String&, const SharedPtr<Globalization::CultureInfo>&, Globalization::TimeSpanStyles, TimeSpan&) method
static bool System::TimeSpan::TryParseExact(const String &input, const String &format, const SharedPtr<Globalization::CultureInfo> &culture, Globalization::TimeSpanStyles styles, TimeSpan &result)
Zie ook
- Class String
- Typedef SharedPtr
- Class CultureInfo
- Enum TimeSpanStyles
- Class TimeSpan
- Class TimeSpan
- Namespace System
- Library Aspose.Page for C++
TimeSpan::TryParseExact(const String&, const String&, const SharedPtr<Globalization::CultureInfo>&, TimeSpan&) method
static bool System::TimeSpan::TryParseExact(const String &input, const String &format, const SharedPtr<Globalization::CultureInfo> &culture, TimeSpan &result)
Zie ook
- Class String
- Typedef SharedPtr
- Class CultureInfo
- Class TimeSpan
- Class TimeSpan
- Namespace System
- Library Aspose.Page for C++
TimeSpan::TryParseExact(const String&, const String&, const SharedPtr<Globalization::DateTimeFormatInfo>&, Globalization::TimeSpanStyles, TimeSpan&) method
static bool System::TimeSpan::TryParseExact(const String &input, const String &format, const SharedPtr<Globalization::DateTimeFormatInfo> &dtfi, Globalization::TimeSpanStyles styles, TimeSpan &result)
Zie ook
- Class String
- Typedef SharedPtr
- Class DateTimeFormatInfo
- Enum TimeSpanStyles
- Class TimeSpan
- Class TimeSpan
- Namespace System
- Library Aspose.Page for C++
TimeSpan::TryParseExact(const String&, const String&, const SharedPtr<Globalization::DateTimeFormatInfo>&, TimeSpan&) method
static bool System::TimeSpan::TryParseExact(const String &input, const String &format, const SharedPtr<Globalization::DateTimeFormatInfo> &dtfi, TimeSpan &result)
Zie ook
- Class String
- Typedef SharedPtr
- Class DateTimeFormatInfo
- Class TimeSpan
- Class TimeSpan
- Namespace System
- Library Aspose.Page for C++
TimeSpan::TryParseExact(const String&, const String&, const SharedPtr<IFormatProvider>&, Globalization::TimeSpanStyles, TimeSpan&) method
Converteert een tekenreeks naar een equivalent TimeSpan object met behulp van de opgegeven indeling, formatprovider en stijlen, en retourneert het resultaat van de conversie.
static bool System::TimeSpan::TryParseExact(const String &input, const String &format, const SharedPtr<IFormatProvider> &provider, Globalization::TimeSpanStyles styles, TimeSpan &result)
| Parameter | Type | Beschrijving |
|---|---|---|
| invoer | const String& | Invoertekenreeks. |
| formaat | const String& | Standaard- of aangepaste formatstring. |
| provider | const SharedPtr<IFormatProvider>& | Formatprovider die cultuurspecifieke opmaakinformatie levert. |
| stijlen | Globalization::TimeSpanStyles | Definieert elementen die aanwezig kunnen zijn in de invoerstring. |
| result | TimeSpan\& | Tijdsinterval dat overeenkomt met de string. |
ReturnValue
Waar als de tekenreeks succesvol is geconverteerd; anders onwaar.
Zie ook
- Class String
- Typedef SharedPtr
- Class IFormatProvider
- Enum TimeSpanStyles
- Class TimeSpan
- Class TimeSpan
- Namespace System
- Library Aspose.Page for C++
TimeSpan::TryParseExact(const String&, const String&, const SharedPtr<IFormatProvider>&, TimeSpan&) method
Converteert een tekenreeks naar een equivalent TimeSpan object met behulp van de opgegeven indeling en formatprovider, en retourneert het resultaat van de conversie.
static bool System::TimeSpan::TryParseExact(const String &input, const String &format, const SharedPtr<IFormatProvider> &provider, TimeSpan &result)
| Parameter | Type | Beschrijving |
|---|---|---|
| invoer | const String& | Invoertekenreeks. |
| formaat | const String& | Standaard- of aangepaste formatstring. |
| provider | const SharedPtr<IFormatProvider>& | Formatprovider die cultuurspecifieke opmaakinformatie levert. |
| result | TimeSpan\& | Tijdsinterval dat overeenkomt met de string. |
ReturnValue
Waar als de tekenreeks succesvol is geconverteerd; anders onwaar.
Zie ook
- Class String
- Typedef SharedPtr
- Class IFormatProvider
- Class TimeSpan
- Class TimeSpan
- Namespace System
- Library Aspose.Page for C++
TimeSpan::TryParseExact(const String&, const String&, std::nullptr_t, Globalization::TimeSpanStyles, TimeSpan&) method
static bool System::TimeSpan::TryParseExact(const String &input, const String &format, std::nullptr_t, Globalization::TimeSpanStyles styles, TimeSpan &result)
Zie ook
- Class String
- Enum TimeSpanStyles
- Class TimeSpan
- Class TimeSpan
- Namespace System
- Library Aspose.Page for C++
TimeSpan::TryParseExact(const String&, const String&, std::nullptr_t, TimeSpan&) method
static bool System::TimeSpan::TryParseExact(const String &input, const String &format, std::nullptr_t, TimeSpan &result)
Zie ook
- Class String
- Class TimeSpan
- Class TimeSpan
- Namespace System
- Library Aspose.Page for C++