Share via


SPFieldRatingScaleValue Constructor (String)

Initializes a new instance of the SPFieldRatingScaleValue class that is based on the specified field value.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Sub New ( _
    fieldValue As String _
)
'Usage
Dim fieldValue As String

Dim instance As New SPFieldRatingScaleValue(fieldValue)
public SPFieldRatingScaleValue(
    string fieldValue
)

Parameters

  • fieldValue
    Type: System.String

    A string that contains the field value. This parameter is in the format of “value;# number”.

Remarks

The constructor adds the value specified by number to a subordinate question specified by the value in the survey rating scale.

See Also

Reference

SPFieldRatingScaleValue Class

SPFieldRatingScaleValue Members

SPFieldRatingScaleValue Overload

Microsoft.SharePoint Namespace