WorkflowViewService.CreateViewElement 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 supports the type of the specified ModelItem.
Namespace: System.Activities.Design.View
Assembly: System.Activities.Design (in System.Activities.Design.dll)
'Declaration
Protected Function CreateViewElement ( _
modelItem As ModelItem _
) As WorkflowViewElement
'Usage
Dim modelItem As ModelItem
Dim returnValue As WorkflowViewElement
returnValue = Me.CreateViewElement(modelItem)
protected WorkflowViewElement CreateViewElement(
ModelItem modelItem
)
protected:
WorkflowViewElement^ CreateViewElement(
ModelItem^ modelItem
)
protected function CreateViewElement(
modelItem : ModelItem
) : WorkflowViewElement
member CreateViewElement :
modelItem:ModelItem -> WorkflowViewElement
- modelItem
Type: System.Activities.Design.Model.ModelItem
One entity in the editing model of an activity designer.
Type: System.Activities.Design.WorkflowViewElement
A workflow view element that supports the same type as the model item argument.
- 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.
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.
Supported in: 4