Region.GetView Method
Returns the view instance that was added to the region using a specific name.
Namespace: Microsoft.Practices.Prism.Regions
Assembly: Microsoft.Practices.Prism (in Microsoft.Practices.Prism.dll)
Syntax
public virtual Object GetView(
string viewName
)
'Declaration
Public Overridable Function GetView ( _
viewName As String _
) As Object
Parameters
- viewName
Type: System.String
The name used when adding the view to the region.
Return Value
Returns the named view or nulla null reference (Nothing in Visual Basic) if the view with viewName does not exist in the current region.