Provides a set of constants that specify the type of data that a Choice object represents. These constants are used in conjunction with the ChoiceType property to specify whether a given Choice object represents an integer-type choice item, a string-type choice item, a group node for a nested collection of integer-type Choice objects, or a group node for a nested collection of string-type Choice objects.

Namespace:  FileNet.Api.Constants
Assembly:  FileNet.Api (in FileNet.Api.dll)

ToggleSyntax

Visual Basic (Declaration)
Public Enumeration ChoiceType
C#
public enum ChoiceType
Visual C++
public enum class ChoiceType
JavaScript
FileNet.Api.Constants.ChoiceType = function();
FileNet.Api.Constants.ChoiceType.createEnum('FileNet.Api.Constants.ChoiceType', false);

ToggleMembers

TypeMember nameDescription
INTEGER
Specifies a Choice object that represents an integer-type choice item. This type of choice item stores a single integer value with its ChoiceIntegerValue property. An integer-type item must belong to an integer-type choice list and the value of its ChoiceIntegerValue property can only be assigned to an integer-valued property that has been associated with this choice list.
MIDNODE_STRING
Specifies a Choice object that acts as a group node for a nested collection of string-type Choice objects. This collection is represented by a com.filenet.api.collection.ChoiceList object returned by the ChoiceValues property. Each Choice object in this collection must represent either a string-type choice item or a group node for a nested collection of string-type Choice objects.
MIDNODE_INTEGER
Specifies a Choice object that acts as a group node for a nested collection of integer-type Choice objects. This collection is represented by a com.filenet.api.collection.ChoiceList object returned by the ChoiceValues property. Each Choice object in this collection must represent either an integer-type choice item or a group node for a nested collection of integer-type Choice objects.
STRING
Specifies a Choice object that represents a string-type choice item. This type of choice item stores a single string value with its ChoiceStringValue property. A string-type choice item must belong to a string-type choice list and the value of its ChoiceStringValue property can only be assigned to a string-valued property that has been associated with this choice list.

ToggleSee Also