WorkflowViewService.GetViewElement Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Creates a new WorkflowViewElement that maps to the specified ModelItem.
Namespace: System.Activities.Design.View
Assembly: System.Activities.Design (in System.Activities.Design.dll)
Syntax
'Declaration
Public Function GetViewElement ( _
modelItem As ModelItem _
) As WorkflowViewElement
'Usage
Dim instance As WorkflowViewService
Dim modelItem As ModelItem
Dim returnValue As WorkflowViewElement
returnValue = instance.GetViewElement(modelItem)
public WorkflowViewElement GetViewElement(
ModelItem modelItem
)
public:
WorkflowViewElement^ GetViewElement(
ModelItem^ modelItem
)
public function GetViewElement(
modelItem : ModelItem
) : WorkflowViewElement
member GetViewElement :
modelItem:ModelItem -> WorkflowViewElement
Parameters
- modelItem
Type: System.Activities.Design.Model.ModelItem
One entity in the editing model of an activity designer.
Return Value
Type: System.Activities.Design.WorkflowViewElement
A new view element that maps to a specified model item.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Platforms
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 4