# GetFormat(Type)

> Gets the format Object for a CustomPluralRuleProvider.

## Definition

* **Type:** Method
* **Namespace:** [Unity.SmartStrings.Extensions](/engine/6000.7/script-reference/unity/smartstrings/extensions.md)
* **Assembly:** UnityEngine.SmartStringsModule

```csharp
public object GetFormat(Type formatType)
```

### Parameters

**** (\[Type]\(https\://learn.microsoft.com/dotnet/api/system.type)): Type of formatting object to return.

### Returns

| Type                                                           | Description                                                                                                                                                                                                       |
| -------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Object](https://learn.microsoft.com/dotnet/api/system.object) | The format [Object](/engine/6000.7/script-reference/unityengine/object.md) for a [CustomPluralRuleProvider](/engine/6000.7/script-reference/unity/smartstrings/extensions/custompluralruleprovider.md) or `null`. |
