Intersoft ClientUI Documentation
AddViewToRegion(String,Object) Method
See Also  Send Feedback
Intersoft.Client.Framework.Regions Namespace > RegionManager Class > AddViewToRegion Method : AddViewToRegion(String,Object) Method






regionName
The region name of which the view will be added to.
view
The view object (typically control) to be added.
Adds the view to the specified region name.

Syntax

Visual Basic (Declaration) 
Public Overloads Function AddViewToRegion( _
   ByVal regionName As String, _
   ByVal view As Object _
) As IRegionManager
Visual Basic (Usage)Copy Code
Dim instance As RegionManager
Dim regionName As String
Dim view As Object
Dim value As IRegionManager
 
value = instance.AddViewToRegion(regionName, view)
C# 
public IRegionManager AddViewToRegion( 
   string regionName,
   object view
)
Delphi 
public function AddViewToRegion( 
    regionName: String;
    view: TObject
): IRegionManager; 
JScript 
public function AddViewToRegion( 
   regionName : String,
   view : Object
) : IRegionManager;
Managed Extensions for C++ 
public: IRegionManager* AddViewToRegion( 
   string* regionName,
   Object* view
) 
C++/CLI 
public:
IRegionManager^ AddViewToRegion( 
   String^ regionName,
   Object^ view
) 

Parameters

regionName
The region name of which the view will be added to.
view
The view object (typically control) to be added.

Return Value

Returns the IRegionManager instance that contains the region.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.