Intersoft ClientUI Documentation
Add(Object,String) Method



The view to add.
The name of the view. This can be used to retrieve it later by calling GetView.
Adds a new view to the region.
Syntax
Overloads Function Add( _
   ByVal view As Object, _
   ByVal viewName As String _
) As IRegionManager
Dim instance As IRegion
Dim view As Object
Dim viewName As String
Dim value As IRegionManager
 
value = instance.Add(view, viewName)
IRegionManager Add( 
   object view,
   string viewName
)

Parameters

view
The view to add.
viewName
The name of the view. This can be used to retrieve it later by calling GetView.

Return Value

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

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IRegion Interface
IRegion Members
Overload List

Send Feedback