Share via


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)

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.String

    A string that specifies the subordinate question for which a value is being added.

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.

See also

Reference

SPFieldRatingScaleValue class

SPFieldRatingScaleValue members

Microsoft.SharePoint namespace