Share via


Line.Reset Event (Microsoft.DirectX.Direct3D)

Occurs after the Line.OnResetDevice method is called or after the Line is reset.

Definition

Visual Basic Public Event Reset As EventHandlerLeave Site
C# public event EventHandlerLeave Site Reset;
C++ public:
event EventHandlerLeave SiteReset;
JScript In JScript, you can use events, but you cannot define your own.

Remarks

To add an event handler that listens for a Line.Reset event, use the following C# code.

[C#]line.Reset += new System.EventHandler(this.ResetEventHandler);