Export (0) Print
Expand All

ModelItemExtensions.GetEditingContext Method

Retrieves the editing context of the specified model item.

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

public static EditingContext GetEditingContext(
	this ModelItem modelItem
)

Parameters

modelItem
Type: System.Activities.Presentation.Model.ModelItem

The model item.

Return Value

Type: System.Activities.Presentation.EditingContext
The editing context of the specified model item.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ModelItem. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft