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


Hämtar [CompareInfo](../) som är associerad med den angivna kulturen.

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


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| namn | const String\& | Kulturnamn. |

### ReturnValue

[CompareInfo](../) object.

## Se även

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


Hämtar [CompareInfo](../) som är associerad med den angivna kulturen och använder strängjämförelsesmetoder i den angivna assemblyn.

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


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| namn | const String\& | Kulturnamn. |
| assembly | const SharedPtr\<Reflection::Assembly\>\& | Assembly som innehåller strängjämförelsesmetoder. |

### ReturnValue

[CompareInfo](../) object.

## Se även

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


Hämtar [CompareInfo](../) som är associerad med den angivna kulturen.

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


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| kultur | int | Kulturidentifierare (LCID). |

### ReturnValue

[CompareInfo](../) object.

## Se även

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


Hämtar [CompareInfo](../) som är associerad med den angivna kulturen och använder strängjämförelsesmetoder i den angivna assemblyn.

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


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| kultur | int | Kulturidentifierare (LCID). |
| assembly | const SharedPtr\<Reflection::Assembly\>\& | Assembly som innehåller strängjämförelsesmetoder. |

### ReturnValue

[CompareInfo](../) object.

## Se även

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