ICodeInjectionService 接口
在用户的 XAML 文件的隐藏代码中创建一个方法,并允许在该方法中追加语句。
命名空间: Microsoft.Windows.Design.Services
程序集: Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)
语法
声明
Public Interface ICodeInjectionService
public interface ICodeInjectionService
public interface class ICodeInjectionService
type ICodeInjectionService = interface end
public interface ICodeInjectionService
ICodeInjectionService 类型公开以下成员。
方法
名称 | 说明 | |
---|---|---|
AppendStatements | 将 CodeDOM 语句的集合追加到指定的事件处理程序中。 | |
CreateMethod | 使用指定的签名创建方法。 |
页首