WriteHandler 委托

定义

用于将一个字符串写入到某个位置(如控制台窗口或 IDE 生成窗口)的委托。Delegate used for writing a string to some location like the console window or the IDE build window.

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 message to write.

继承
WriteHandler

扩展方法

GetMethodInfo(Delegate)

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

适用于