IRegion.Add Method (Object, String)

Adds a new view to the region.

Namespace:  Microsoft.Practices.Composite.Regions
Assembly:  Microsoft.Practices.Composite (in Microsoft.Practices.Composite.dll)

Syntax

'Declaration
Function Add ( _
    view As Object, _
    viewName As String _
) As IRegionManager
IRegionManager Add(
    Object view,
    string viewName
)
IRegionManager^ Add(
    Object^ view, 
    String^ viewName
)
function add(view, viewName);

Parameters

Return Value

The IRegionManager that is set on the view if it is a DependencyObject. It will be the current region manager when using this overload.

See Also

IRegion Interface

Add Overload

Microsoft.Practices.Composite.Regions Namespace