Share via


ViewService.GetView Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns the view corresponding to the given model, or nulla null reference (Nothing in Visual Basic) if there is no view for the model.

Namespace:  System.Activities.Design.Services
Assembly:  System.Activities.Design.Base (in System.Activities.Design.Base.dll)

Syntax

'Declaration
Public MustOverride Function GetView ( _
    model As ModelItem _
) As DependencyObject
'Usage
Dim instance As ViewService
Dim model As ModelItem
Dim returnValue As DependencyObject

returnValue = instance.GetView(model)
public abstract DependencyObject GetView(
    ModelItem model
)
public:
virtual DependencyObject^ GetView(
    ModelItem^ model
) abstract
public abstract function GetView(
    model : ModelItem
) : DependencyObject
abstract GetView : 
        model:ModelItem -> DependencyObject 

Parameters

Return Value

Type: System.Windows.DependencyObject
Returns the view for this model as a DependencyObject, or nulla null reference (Nothing in Visual Basic) if there is no view.

Exceptions

Exception Condition
ArgumentNullException

model is nulla null reference (Nothing in Visual Basic).

ArgumentException

model does not represent a valid model for this service.

.NET Framework Security

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

See Also

Reference

ViewService Class

ViewService Members

System.Activities.Design.Services Namespace