IMemberCreationService Interface

 
Note: This API is now obsolete.

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.

Namespace:   System.Workflow.ComponentModel.Design
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

[ObsoleteAttribute("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public interface class IMemberCreationService

NameDescription
System_CAPS_pubmethodCreateEvent(String^, String^, Type^, array<AttributeInfo^>^, Boolean)

Creates an event on the specified class by using the specified event name, event type and attributes.

System_CAPS_pubmethodCreateField(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.

System_CAPS_pubmethodCreateProperty(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.

System_CAPS_pubmethodRemoveEvent(String^, String^, Type^)

Removes the specified event from the specified class.

System_CAPS_pubmethodRemoveProperty(String^, String^, Type^)

Removes the specified property from the specified class.

System_CAPS_pubmethodShowCode()

Displays code for the new member on a workflow design surface.

System_CAPS_pubmethodShowCode(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.

System_CAPS_pubmethodUpdateBaseType(String^, Type^)

Updates the base type to associate with the specified class.

System_CAPS_pubmethodUpdateEvent(String^, String^, Type^, String^, Type^, array<AttributeInfo^>^, Boolean, Boolean)

Sets a new name and type to an existing event on the specified class.

System_CAPS_pubmethodUpdateProperty(String^, String^, Type^, String^, Type^, array<AttributeInfo^>^, Boolean, Boolean)

Sets a new name and type to a property on the specified class.

System_CAPS_pubmethodUpdateTypeName(String^, String^)

Updates the name of the specified class.

System_CAPS_noteNote

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

.NET Framework
Available since 3.0
Return to top
Show: