> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenTD.Utility.RootedPathname Struct Reference

An absolute pathname.

## Public Member Functions

| Type | Name |
| - | - |
| | [RootedPathname](#a4c0d4804d93cc3526aba8d4fb35e7af8) (string pathname) Initializes a new instance of the [RootedPathname](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/struct_open_t_d_1_1_utility_1_1_rooted_pathname.md) struct, starting with a relative or absolute pathname as input. |
| string | [ToLower](#aa5df236889d961edd34cc64d2cacb44f) () |
| string | [GetFileName](#a39acad774ce7316a2528d123ee321f0f) () Returns the filename and extension of the path. |
| override string | [ToString](#a607cc6a365a6ca090121437a76b933fe) () |

## Static Public Member Functions

| Type | Name |
| - | - |
| static implicit | [operator RootedPathname](#a74c13323aca9af75ecf3ed409ab0ab93) (string x) |
| static implicit | [operator string](#a815280e9be3c8a881f689affa7e9ce19) ([RootedPathname](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/struct_open_t_d_1_1_utility_1_1_rooted_pathname.md) x) |

## Detailed Description

An absolute pathname.

## Constructor & Destructor Documentation

### RootedPathname()

```csharp theme={null}
OpenTD.Utility.RootedPathname.RootedPathname(string pathname)
```

`inline`

Initializes a new instance of the [RootedPathname](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/struct_open_t_d_1_1_utility_1_1_rooted_pathname.md) struct, starting with a relative or absolute pathname as input.

**Parameters**

| Name | Description |
| - | - |
| pathname | A relative or absolute pathname. |

## Member Function Documentation

### GetFileName()

```csharp theme={null}
string OpenTD.Utility.RootedPathname.GetFileName()
```

`inline`

Returns the filename and extension of the path.

**Returns**

### operator RootedPathname()

```csharp theme={null}
static implicit OpenTD.Utility.RootedPathname.operator RootedPathname(string x)
```

`inline` `static`

### operator string()

```csharp theme={null}
static implicit OpenTD.Utility.RootedPathname.operator string(RootedPathname x)
```

`inline` `static`

### ToLower()

```csharp theme={null}
string OpenTD.Utility.RootedPathname.ToLower()
```

`inline`

### ToString()

```csharp theme={null}
override string OpenTD.Utility.RootedPathname.ToString()
```

`inline`

The documentation for this struct was generated from the following file:

* C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/OpenTD/OpenTD/Utility/**RootedPathname.cs**
