Skip to main content

OpenTD reference 2026 R1

Class WriteEventArgs

Last update: 09.03.2026

Namespace: OpenTD.UserInterface
Assembly: OpenTD.dll

Used by the StandardOutput.OnWrite event to route StandardOutput to a custom destination.

public class WriteEventArgs : EventArgs

Inheritance

object ← EventArgs ← WriteEventArgs

Inherited Members

EventArgs.Empty, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

WriteEventArgs(string)

public WriteEventArgs(string msg)

Parameters

msg string

Properties

Message

public string Message { get; set; }

Property Value

string

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

See Also

EventArgs

Connect with Ansys