This documentation is archived and is not being maintained.
IMemberCreationService Interface
Visual Studio 2010
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)
The IMemberCreationService type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | CreateEvent | Creates an event on the specified class by using the specified event name, event type and attributes. |
![]() | CreateField | Creates a field on the specified class by using the specified field name, field type, parameter types, attributes and literal initialization expression. |
![]() | CreateProperty | Creates a property on the specified class by using the specified property name, property type and attributes. |
![]() | RemoveEvent | Removes the specified event from the specified class. |
![]() | RemoveProperty | 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 | Updates the base type to associate with the specified class. |
![]() | UpdateEvent | Sets a new name and type to an existing event on the specified class. |
![]() | UpdateProperty | Sets a new name and type to a property on the specified class. |
![]() | UpdateTypeName | Updates the name of the specified class. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
