## CompareInfo::IndexOf(const String\&, char16_t) const method


Recherche le caractère spécifié.

```cpp
virtual int System::Globalization::CompareInfo::IndexOf(const String &source, char16_t value) const
```


| Paramètre | Type | Description |
| --- | --- | --- |
| source | const String\& | Chaîne source. |
| value | char16_t | Caractère. |

### ReturnValue

Indice de la valeur de recherche dans la chaîne source ou -1 si non trouvée.

## Voir aussi

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


Recherche le caractère spécifié. Seul le mode Ordinal est pris en charge.

```cpp
virtual int System::Globalization::CompareInfo::IndexOf(const String &source, char16_t value, CompareOptions options) const
```


| Paramètre | Type | Description |
| --- | --- | --- |
| source | const String\& | Chaîne source. |
| value | char16_t | Caractère. |
| options | CompareOptions | Options de recherche. |

### ReturnValue

Indice de la valeur de recherche dans la chaîne source ou -1 si non trouvée.

## Voir aussi

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


Recherche le caractère spécifié.

```cpp
virtual int System::Globalization::CompareInfo::IndexOf(const String &source, char16_t value, int start_index) const
```


| Paramètre | Type | Description |
| --- | --- | --- |
| source | const String\& | Chaîne source. |
| value | char16_t | Caractère. |
| start_index | int | Indice de départ de la recherche dans la chaîne source. |

### ReturnValue

Indice de la valeur de recherche dans la chaîne source ou -1 si non trouvée.

## Voir aussi

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


Recherche le caractère spécifié. Seul le mode Ordinal est pris en charge.

```cpp
virtual int System::Globalization::CompareInfo::IndexOf(const String &source, char16_t value, int start_index, CompareOptions options) const
```


| Paramètre | Type | Description |
| --- | --- | --- |
| source | const String\& | Chaîne source. |
| value | char16_t | Caractère. |
| start_index | int | Indice de départ de la recherche dans la chaîne source. |
| options | CompareOptions | Options de recherche. |

### ReturnValue

Indice de la valeur de recherche dans la chaîne source ou -1 si non trouvée.

## Voir aussi

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


Recherche le caractère spécifié.

```cpp
virtual int System::Globalization::CompareInfo::IndexOf(const String &source, char16_t value, int start_index, int count) const
```


| Paramètre | Type | Description |
| --- | --- | --- |
| source | const String\& | Chaîne source. |
| value | char16_t | Caractère. |
| start_index | int | Indice de départ de la recherche dans la chaîne source. |
| count | int | Nombre de caractères dans la chaîne source. |

### ReturnValue

Indice de la valeur de recherche dans la chaîne source ou -1 si non trouvée.

## Voir aussi

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


Recherche le caractère spécifié. Seul le mode Ordinal est pris en charge.

```cpp
virtual int System::Globalization::CompareInfo::IndexOf(const String &source, char16_t value, int start_index, int count, CompareOptions options) const
```


| Paramètre | Type | Description |
| --- | --- | --- |
| source | const String\& | Chaîne source. |
| value | char16_t | Caractère. |
| start_index | int | Indice de départ de la recherche dans la chaîne source. |
| count | int | Nombre de caractères dans la chaîne source. |
| options | CompareOptions | Options de recherche. |

### ReturnValue

Indice de la valeur de recherche dans la chaîne source ou -1 si non trouvée.

## Voir aussi

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


Recherche une sous-chaîne.

```cpp
virtual int System::Globalization::CompareInfo::IndexOf(const String &source, const String &value) const
```


| Paramètre | Type | Description |
| --- | --- | --- |
| source | const String\& | Chaîne source. |
| value | const String\& | Valeur de recherche. |

### ReturnValue

Indice de la valeur de recherche dans la chaîne source ou -1 si non trouvée.

## Voir aussi

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


Recherche une sous-chaîne. Seul le mode Ordinal est pris en charge.

```cpp
virtual int System::Globalization::CompareInfo::IndexOf(const String &source, const String &value, CompareOptions options) const
```


| Paramètre | Type | Description |
| --- | --- | --- |
| source | const String\& | Chaîne source. |
| value | const String\& | Valeur de recherche. |
| options | CompareOptions | Options de recherche. |

### ReturnValue

Indice de la valeur de recherche dans la chaîne source ou -1 si non trouvée.

## Voir aussi

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


Recherche une sous-chaîne.

```cpp
virtual int System::Globalization::CompareInfo::IndexOf(const String &source, const String &value, int start_index) const
```


| Paramètre | Type | Description |
| --- | --- | --- |
| source | const String\& | Chaîne source. |
| value | const String\& | Valeur de recherche. |
| start_index | int | Indice de départ de la recherche dans la chaîne source. |

### ReturnValue

Indice de la valeur de recherche dans la chaîne source ou -1 si non trouvée.

## Voir aussi

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


Recherche une sous-chaîne. Seul le mode Ordinal est pris en charge.

```cpp
virtual int System::Globalization::CompareInfo::IndexOf(const String &source, const String &value, int start_index, CompareOptions options) const
```


| Paramètre | Type | Description |
| --- | --- | --- |
| source | const String\& | Chaîne source. |
| value | const String\& | Valeur de recherche. |
| start_index | int | Indice de départ de la recherche dans la chaîne source. |
| options | CompareOptions | Options de recherche. |

### ReturnValue

Indice de la valeur de recherche dans la chaîne source ou -1 si non trouvée.

## Voir aussi

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


Recherche une sous-chaîne.

```cpp
virtual int System::Globalization::CompareInfo::IndexOf(const String &source, const String &value, int start_index, int count) const
```


| Paramètre | Type | Description |
| --- | --- | --- |
| source | const String\& | Chaîne source. |
| value | const String\& | Valeur de recherche. |
| start_index | int | Indice de départ de la recherche dans la chaîne source. |
| count | int | Nombre de caractères dans la chaîne source. |

### ReturnValue

Indice de la valeur de recherche dans la chaîne source ou -1 si non trouvée.

## Voir aussi

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


Recherche une sous-chaîne. Seul le mode Ordinal est pris en charge.

```cpp
virtual int System::Globalization::CompareInfo::IndexOf(const String &source, const String &value, int start_index, int count, CompareOptions options) const
```


| Paramètre | Type | Description |
| --- | --- | --- |
| source | const String\& | Chaîne source. |
| value | const String\& | Valeur de recherche. |
| start_index | int | Indice de départ de la recherche dans la chaîne source. |
| count | int | Nombre de caractères dans la chaîne source. |
| options | CompareOptions | Options de recherche. |

### ReturnValue

Indice de la valeur de recherche dans la chaîne source ou -1 si non trouvée.

## Voir aussi

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