IMemberCreationService 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
定义在设计时动态创建、更新和删除类型代码元素的方法。 还提供了允许在设计时显示代码的方法。
public interface class IMemberCreationService
public interface IMemberCreationService
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public interface IMemberCreationService
type IMemberCreationService = interface
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type IMemberCreationService = interface
Public Interface IMemberCreationService
- 属性
注解
注释
此材料讨论已过时的类型和命名空间。 有关详细信息,请参阅 Windows Workflow Foundation 4.50 中的
方法
| 名称 | 说明 |
|---|---|
| CreateEvent(String, String, Type, AttributeInfo[], Boolean) |
已过时.
使用指定的事件名称、事件类型和属性在指定类上创建事件。 |
| CreateField(String, String, Type, Type[], MemberAttributes, CodeSnippetExpression, Boolean) |
已过时.
使用指定的字段名称、字段类型、参数类型、属性和文本初始化表达式在指定类上创建字段。 |
| CreateProperty(String, String, Type, AttributeInfo[], Boolean, Boolean, Boolean, Type, Boolean) |
已过时.
使用指定的属性名称、属性类型和属性在指定类上创建属性。 |
| RemoveEvent(String, String, Type) |
已过时.
从指定类中删除指定的事件。 |
| RemoveProperty(String, String, Type) |
已过时.
从指定类中删除指定的属性。 |
| ShowCode() |
已过时.
在工作流设计图面上显示新成员的代码。 |
| ShowCode(Activity, String, Type) |
已过时.
使用指定的、指定的 Activity方法和指定的委托类型显示工作流设计图面上新成员的代码。 |
| UpdateBaseType(String, Type) |
已过时.
更新基类型以与指定的类相关联。 |
| UpdateEvent(String, String, Type, String, Type, AttributeInfo[], Boolean, Boolean) |
已过时.
将新名称和类型设置为指定类上的现有事件。 |
| UpdateProperty(String, String, Type, String, Type, AttributeInfo[], Boolean, Boolean) |
已过时.
将新名称和类型设置为指定类上的属性。 |
| UpdateTypeName(String, String) |
已过时.
更新指定类的名称。 |