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)

Syntax

Visual Basic (Declaration)
Public Enum ChoiceType
C#
public enum ChoiceType
C++
public enum class ChoiceType
J#
public enum ChoiceType
JScript
public enum ChoiceType

Members

Member NameDescription
MIDNODE_STRINGSpecifies 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.
INTEGERSpecifies 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_INTEGERSpecifies 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.
STRINGSpecifies 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.

See Also