EventBindingService.AppendStatements 方法

CodeStatement 对象的指定集合追加到指定的事件处理程序。

命名空间:  Microsoft.Windows.Design.Services
程序集:  Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)

语法

声明
Public MustOverride Sub AppendStatements ( _
    modelEvent As ModelEvent, _
    methodName As String, _
    statements As CodeStatementCollection _
)
public abstract void AppendStatements(
    ModelEvent modelEvent,
    string methodName,
    CodeStatementCollection statements
)
public:
virtual void AppendStatements(
    ModelEvent^ modelEvent, 
    String^ methodName, 
    CodeStatementCollection^ statements
) abstract
abstract AppendStatements : 
        modelEvent:ModelEvent * 
        methodName:string * 
        statements:CodeStatementCollection -> unit 
public abstract function AppendStatements(
    modelEvent : ModelEvent, 
    methodName : String, 
    statements : CodeStatementCollection
)

参数

  • methodName
    类型:System.String
    事件处理程序的方法名称。

.NET Framework 安全性

请参见

参考

EventBindingService 类

Microsoft.Windows.Design.Services 命名空间

其他资源

WPF 设计器扩展性体系结构