Siebel Object Interfaces Reference > Interfaces Reference > Property Set Methods >

PropertyExists Method


This method returns a Boolean value indicating whether a specified property exists in a property set.

Syntax

oPropSet.PropertyExists(propName)

Argument
Description

propName

A string representing the name of the property to be found

Returns

In Siebel VB, an integer (0 for false, 1 for true); in other interfaces, a Boolean

Usage

Because GetProperty returns a null string ("") for every nonexistent property, use PropertyExists() in an if statement to determine whether a specific property has been set.

Used With

Browser Script, COM Data Control, COM Data Server, Java Data Bean, Mobile/Dedicated Web Client Automation Server, Server Script, Web Client Automation Server

Example

For an example, read GetFirstProperty Method.

Siebel Object Interfaces Reference