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






regionScopeName
The region scope name of which the view will be registered to.
regionName
The region name of which the view will be registered to.
viewType
The type of the view to be registered.
Registers a type to the specified region scope name and region name.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function RegisterViewWithRegion( _
   ByVal regionScopeName As String, _
   ByVal regionName As String, _
   ByVal viewType As Type _
) As IRegionManager
Visual Basic (Usage)Copy Code
Dim regionScopeName As String
Dim regionName As String
Dim viewType As Type
Dim value As IRegionManager
 
value = RegionManager.RegisterViewWithRegion(regionScopeName, regionName, viewType)
C# 
public static IRegionManager RegisterViewWithRegion( 
   string regionScopeName,
   string regionName,
   Type viewType
)
Delphi 
public function RegisterViewWithRegion( 
    regionScopeName: String;
    regionName: String;
    viewType: Type
): IRegionManager; static; 
JScript 
public static function RegisterViewWithRegion( 
   regionScopeName : String,
   regionName : String,
   viewType : Type
) : IRegionManager;
Managed Extensions for C++ 
public: static IRegionManager* RegisterViewWithRegion( 
   string* regionScopeName,
   string* regionName,
   Type* viewType
) 
C++/CLI 
public:
static IRegionManager^ RegisterViewWithRegion( 
   String^ regionScopeName,
   String^ regionName,
   Type^ viewType
) 

Parameters

regionScopeName
The region scope name of which the view will be registered to.
regionName
The region name of which the view will be registered to.
viewType
The type of the view to be registered.

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.