Click or drag to resize
Askia

IDefaultControlCollectionCreate Method

Create a property using the specified name and value

Namespace:  AskiaCore
Assembly:  AskiaCore (in AskiaCore.dll) Version: 6.0.0-build000000000000000000000000000000000000000001
Syntax
IDefaultControl Create(
	QuestionTypeForDefaultControl questionType,
	int controlId
)

Parameters

questionType
Type: AskiaCoreQuestionTypeForDefaultControl
Question type to create
controlId
Type: SystemInt32
Id of the control to set

Return Value

Type: IDefaultControl
The property that has been created
Remarks
If the name of the property already exist, this method override it's value
See Also