ActiveDelegate<T> 委托

定义

用于测试窗体状态的委托,以查看特定步骤是否处于活动状态。

public delegate bool ActiveDelegate<T>(T state);
type ActiveDelegate<'T> = delegate of 'T -> bool
Public Delegate Function ActiveDelegate(Of T)(state As T) As Boolean 

类型参数

T

窗体状态类型。

参数

state
T

要测试的窗体状态。

返回值

如果给定当前窗体状态,则步骤处于活动状态,则其值为 True。

适用于