IMemberCreationService Interface
Defines methods to dynamically create, update and remove code elements for a type at design time. Methods are also provided that allow you to display code at design time.
Assembly: System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
| Name | Description | |
|---|---|---|
![]() | CreateEvent(String^, String^, Type^, array<AttributeInfo^>^, Boolean) | Creates an event on the specified class by using the specified event name, event type and attributes. |
![]() | CreateField(String^, String^, Type^, array<Type^>^, MemberAttributes, CodeSnippetExpression^, Boolean) | Creates a field on the specified class by using the specified field name, field type, parameter types, attributes and literal initialization expression. |
![]() | CreateProperty(String^, String^, Type^, array<AttributeInfo^>^, Boolean, Boolean, Boolean, Type^, Boolean) | Creates a property on the specified class by using the specified property name, property type and attributes. |
![]() | RemoveEvent(String^, String^, Type^) | Removes the specified event from the specified class. |
![]() | RemoveProperty(String^, String^, Type^) | Removes the specified property from the specified class. |
![]() | ShowCode() | Displays code for the new member on a workflow design surface. |
![]() | ShowCode(Activity^, String^, Type^) | Displays code for the new member on a workflow design surface by using the specified Activity, the specified method and the specified delegate type. |
![]() | UpdateBaseType(String^, Type^) | Updates the base type to associate with the specified class. |
![]() | UpdateEvent(String^, String^, Type^, String^, Type^, array<AttributeInfo^>^, Boolean, Boolean) | Sets a new name and type to an existing event on the specified class. |
![]() | UpdateProperty(String^, String^, Type^, String^, Type^, array<AttributeInfo^>^, Boolean, Boolean) | Sets a new name and type to a property on the specified class. |
![]() | UpdateTypeName(String^, String^) | Updates the name of the specified class. |
Note |
|---|
This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5. |
Available since 3.0

