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.Composition (in Microsoft.Practices.Prism.Composition.dll) Version: 5.0.0.0 (5.0.0.0)
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
Type: Object
Returns the named view or nulla null reference (Nothing in Visual Basic) if the view with viewName does not exist in the current region.