ModelFactory Class

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Creates instances of ModelItem objects in the designer.

Namespace:   System.Activities.Presentation.Model
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)

System.Object
  System.Activities.Presentation.Model.ModelFactory

public static class ModelFactory

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreateItem(EditingContext, Object)

Creates a new ModelItem by creating a deep copy of the instance provided.

System_CAPS_pubmethodSystem_CAPS_staticCreateItem(EditingContext, Type, CreateOptions, Object[])

Creates a new ModelItem for the given item type.

System_CAPS_pubmethodSystem_CAPS_staticCreateItem(EditingContext, Type, Object[])

Creates a new ModelItem for the given item type.

System_CAPS_pubmethodSystem_CAPS_staticCreateStaticMemberItem(EditingContext, Type, String)

Creates a new ModelItem that represents the value of a static member of the given class.

.NET Framework
Available since 4.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: