Intersoft ClientUI Documentation
Contains Method
See Also  Send Feedback
Intersoft.Client.Framework.Regions Namespace > IRegionCollection Interface : Contains Method






regionName
The name of the region to look for.
Checks if the collection contains a IRegion with the name received as parameter.

Syntax

Visual Basic (Declaration) 
Function Contains( _
   ByVal regionName As String _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As IRegionCollection
Dim regionName As String
Dim value As Boolean
 
value = instance.Contains(regionName)
C# 
bool Contains( 
   string regionName
)
Delphi 
function Contains( 
    regionName: String
): Boolean; 
JScript 
function Contains( 
   regionName : String
) : boolean;
Managed Extensions for C++ 
bool Contains( 
   string* regionName
) 
C++/CLI 
bool Contains( 
   String^ regionName
) 

Parameters

regionName
The name of the region to look for.

Return Value

true if the region is contained in the collection, otherwise false.

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.