## CompareInfo::GetCompareInfo(const String\&) method


Ruft das [CompareInfo](../) ab, das mit der angegebenen Kultur verknüpft ist.

```cpp
static CompareInfoPtr System::Globalization::CompareInfo::GetCompareInfo(const String &name)
```


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| Name | const String\& | Kulturname. |

### ReturnValue

[CompareInfo](../) object.

## Siehe auch

* Typedef [CompareInfoPtr](../../compareinfoptr/)
* Class [String](../../../system/string/)
* Class [CompareInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.Font for C++](../../../)
## CompareInfo::GetCompareInfo(const String\&, const SharedPtr\<Reflection::Assembly\>\&) method


Ruft das [CompareInfo](../) ab, das mit der angegebenen Kultur verknüpft ist und String-Vergleichsmethoden in der angegebenen Assembly verwendet.

```cpp
static CompareInfoPtr System::Globalization::CompareInfo::GetCompareInfo(const String &name, const SharedPtr<Reflection::Assembly> &assembly)
```


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| Name | const String\& | Kulturname. |
| assembly | const SharedPtr\<Reflection::Assembly\>\& | Assembly, das Methoden zum Vergleich von Zeichenketten enthält. |

### ReturnValue

[CompareInfo](../) object.

## Siehe auch

* Typedef [CompareInfoPtr](../../compareinfoptr/)
* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Assembly](../../../system.reflection/assembly/)
* Class [CompareInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.Font for C++](../../../)
## CompareInfo::GetCompareInfo(int) method


Ruft das [CompareInfo](../) ab, das mit der angegebenen Kultur verknüpft ist.

```cpp
static CompareInfoPtr System::Globalization::CompareInfo::GetCompareInfo(int culture)
```


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| Kultur | int | Kulturbezeichner (LCID). |

### ReturnValue

[CompareInfo](../) object.

## Siehe auch

* Typedef [CompareInfoPtr](../../compareinfoptr/)
* Class [CompareInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.Font for C++](../../../)
## CompareInfo::GetCompareInfo(int, const SharedPtr\<Reflection::Assembly\>\&) method


Ruft das [CompareInfo](../) ab, das mit der angegebenen Kultur verknüpft ist und String-Vergleichsmethoden in der angegebenen Assembly verwendet.

```cpp
static CompareInfoPtr System::Globalization::CompareInfo::GetCompareInfo(int culture, const SharedPtr<Reflection::Assembly> &assembly)
```


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| Kultur | int | Kulturbezeichner (LCID). |
| assembly | const SharedPtr\<Reflection::Assembly\>\& | Assembly, das Methoden zum Vergleich von Zeichenketten enthält. |

### ReturnValue

[CompareInfo](../) object.

## Siehe auch

* Typedef [CompareInfoPtr](../../compareinfoptr/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Assembly](../../../system.reflection/assembly/)
* Class [CompareInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.Font for C++](../../../)
