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


Controleert of de opgegeven string begint met het opgegeven voorvoegsel.

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


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| source | const String\& | Bronstring. |
| prefix | const String\& | Voorvoegselstring. |

### ReturnValue

Waar als de string begint met het voorvoegsel; anders onwaar.

## Zie ook

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


Controleert of de opgegeven string begint met het opgegeven voorvoegsel met behulp van de opgegeven vergelijkingsopties.

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


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| source | const String\& | Bronstring. |
| prefix | const String\& | Voorvoegselstring. |
| opties | CompareOptions | Vergelijk opties. |

### ReturnValue

Waar als de string begint met het voorvoegsel; anders onwaar.

## Zie ook

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