System::Globalization::CompareInfo::IsPrefix طريقة
محتويات
[
يخفي
]CompareInfo::IsPrefix(const String&, const String&) const method
يتحقق مما إذا كانت السلسلة المحددة تبدأ بالبادئة المحددة.
virtual bool System::Globalization::CompareInfo::IsPrefix(const String &source, const String &prefix) const
| معامل | نوع | الوصف |
|---|---|---|
| المصدر | const String& | سلسلة المصدر. |
| البادئة | const String& | سلسلة البادئة. |
ReturnValue
صحيح إذا بدأت السلسلة بالبادئة؛ وإلا خطأ.
انظر أيضًا
- Class String
- Class CompareInfo
- Namespace System::Globalization
- Library Aspose.Font for C++
CompareInfo::IsPrefix(const String&, const String&, CompareOptions) const method
يتحقق مما إذا كانت السلسلة المحددة تبدأ بالبادئة المحددة باستخدام خيارات المقارنة المحددة.
virtual bool System::Globalization::CompareInfo::IsPrefix(const String &source, const String &prefix, CompareOptions options) const
| معامل | نوع | الوصف |
|---|---|---|
| المصدر | const String& | سلسلة المصدر. |
| البادئة | const String& | سلسلة البادئة. |
| الخيارات | CompareOptions | خيارات المقارنة. |
ReturnValue
صحيح إذا بدأت السلسلة بالبادئة؛ وإلا خطأ.
انظر أيضًا
- Class String
- Enum CompareOptions
- Class CompareInfo
- Namespace System::Globalization
- Library Aspose.Font for C++