## String::Contains(char16_t) const method


يتحقق مما إذا كانت السلسلة تحتوي على الحرف المحدد.

```cpp
bool System::String::Contains(char16_t value) const
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| value | char16_t | البحث عن الحرف. |

### ReturnValue

صحيح إذا كان الحرف موجودًا، خطأ خلاف ذلك.

## انظر أيضًا

* Class [String](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## String::Contains(const String\&) const method


يتحقق مما إذا كان str هو جزء فرعي من السلسلة الحالية.

```cpp
bool System::String::Contains(const String &str) const
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| str | const String\& | سلسلة البحث. |

### ReturnValue

صحيح إذا كان الجزء الفرعي موجودًا، خطأ خلاف ذلك.

## انظر أيضًا

* Class [String](../)
* Class [String](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
