IsInGbstList Method (ListCache)
The name of the GBST/application pop-up list
The value of the element to verify
Gets whether or not the specified element value exists in a given application pop-up list
Syntax
'Declaration
Public Function IsInGbstList( _
ByVal _listTitle_ As String, _
ByVal _element_ As String _
) As Boolean
public bool IsInGbstList(
string _listTitle_,
string _element_
)
Parameters
listTitle
The name of the GBST/application pop-up list
element
The value of the element to verify
Return Value
Whether not the specified element value exists in this application pop-up list
Remarks
If no list is found with the title of listTitle, or the value does not exist in this list, false is returned. Otherwise, true is returned.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family