ColorSetter 委托

定义

用于设置控制台颜色的委托的类型。Type of delegate used to set console color.

public delegate void ColorSetter(ConsoleColor color);
public delegate void ColorSetter(ConsoleColor color);
type ColorSetter = delegate of ConsoleColor -> unit
Public Delegate Sub ColorSetter(color As ConsoleColor)

参数

color
ConsoleColor

文本颜色。Text color.

继承
ColorSetter

扩展方法

GetMethodInfo(Delegate)

获取指示指定委托表示的方法的对象。Gets an object that represents the method represented by the specified delegate.

适用于