WriteHandler 委托

定义

表示将字符串写入某个位置(例如,控制台窗口或集成开发环境中的窗口)的方法。Represents the method that writes strings to a certain location, such as the console window or a window in an integrated development environment.

public delegate void WriteHandler(System::String ^ message);
public delegate void WriteHandler(string message);
type WriteHandler = delegate of string -> unit
Public Delegate Sub WriteHandler(message As String)

参数

message
String

要写入的字符串。The string to write.

继承
WriteHandler

扩展方法

GetMethodInfo(Delegate)

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

适用于