## CompareInfo::IsPrefix(const String\&, const String\&) const method


يتحقق مما إذا كانت السلسلة المحددة تبدأ بالبادئة المحددة.

```cpp
virtual bool System::Globalization::CompareInfo::IsPrefix(const String &source, const String &prefix) const
```


| معامل | نوع | الوصف |
| --- | --- | --- |
| المصدر | const String\& | سلسلة المصدر. |
| البادئة | const String\& | سلسلة البادئة. |

### ReturnValue

صحيح إذا بدأت السلسلة بالبادئة؛ وإلا خطأ.

## انظر أيضًا

* Class [String](../../../system/string/)
* Class [CompareInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.Font for C++](../../../)
## CompareInfo::IsPrefix(const String\&, const String\&, CompareOptions) const method


يتحقق مما إذا كانت السلسلة المحددة تبدأ بالبادئة المحددة باستخدام خيارات المقارنة المحددة.

```cpp
virtual bool System::Globalization::CompareInfo::IsPrefix(const String &source, const String &prefix, CompareOptions options) const
```


| معامل | نوع | الوصف |
| --- | --- | --- |
| المصدر | const String\& | سلسلة المصدر. |
| البادئة | const String\& | سلسلة البادئة. |
| الخيارات | CompareOptions | خيارات المقارنة. |

### ReturnValue

صحيح إذا بدأت السلسلة بالبادئة؛ وإلا خطأ.

## انظر أيضًا

* Class [String](../../../system/string/)
* Enum [CompareOptions](../../compareoptions/)
* Class [CompareInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.Font for C++](../../../)
