Method GetFinishTypeByName
GetFinishTypeByName(string)
Gets finish type from the finishes config by its name. Throws an exception if given name doesn't exist in the finishes config.
Declaration
public Appli.CatalogFinishType GetFinishTypeByName(string finishTypeName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | finishTypeName |
Returns
| Type | Description |
|---|---|
| Appli.CatalogFinishType |
Exceptions
| Type | Condition |
|---|---|
| Sdk2Exception | Thrown if there is no finish type with given name in the finishes config. You can use TryGetFinishTypeByName(string, out CatalogFinishType) to avoid this exception. |