Struct RootedPathname
Last update: 09.03.2026Namespace: OpenTD.Utility
Assembly: OpenTD.dll
An absolute pathname.
[DataContract]
public struct RootedPathname
Inherited Members
object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType()
Constructors
RootedPathname(string)
Initializes a new instance of the
public RootedPathname(string pathname)
Parameters
pathname string
A relative or absolute pathname.
Methods
GetFileName()
Returns the filename and extension of the path.
public string GetFileName()
Returns
ToLower()
public string ToLower()
Returns
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
The fully qualified type name.
Operators
implicit operator RootedPathname(string)
public static implicit operator RootedPathname(string x)
Parameters
x string
Returns
implicit operator string(RootedPathname)
public static implicit operator string(RootedPathname x)