共用方式為


Lights.SwitchOff(Int32) Method

Definition

Switches off the specified light.

public abstract void SwitchOff (int lightNumber);
abstract member SwitchOff : int -> unit
Public MustOverride Sub SwitchOff (lightNumber As Integer)

Parameters

lightNumber
Int32

Specifies the light number. Valid light numbers are 1 through MaxLights.

Applies to