Method FromRegionId
FromRegionId(String)
Returns the region associated with the specified region id.
Declaration
public static Region FromRegionId(string regionId)
Parameters
Type | Name | Description |
---|---|---|
String | regionId | The region id. |
Returns
Type | Description |
---|---|
Region | The region that has its region id equal to
regionId , case-insensitive. |
Exceptions
Type | Condition |
---|---|
ArgumentException | If the region with the
specified regionId could not be found.
|