SPFieldRatingScaleValue.Add Method
Adds a value to a specified subordinate question in the survey rating scale.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Sub Add ( _
choiceValue As String, _
choiceNumber As Integer _
)
'Usage
Dim instance As SPFieldRatingScaleValue
Dim choiceValue As String
Dim choiceNumber As Integer
instance.Add(choiceValue, choiceNumber)
public void Add(
string choiceValue,
int choiceNumber
)
Parameters
choiceValue
Type: System.StringA string that specifies the subordinate question for which a value is being added.
choiceNumber
Type: System.Int32A 32-bit integer that specifies the value between GridStartNumber and GridEndNumber that is selected for the subordinate question.
Remarks
This method adds the value specified by the choiceNumber parameter to the subordinate question specified by the choiceValue parameter in the format as “choiceValue;#choiceNumber” in the survey rating scale.