SPFieldRatingScaleValue.Item property

Gets the subordinate question and response of a user at the specified index in the collection of subordinate questions of the rating scale.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As String
    Get
'Usage
Dim instance As SPFieldRatingScaleValue
Dim index As Integer
Dim value As String

value = instance(index)
public string this[
    int index
] { get; }

Parameters

  • index
    Type: System.Int32

    A 32-bit integer that specifies the index in the collection of subordinate questions.

Property value

Type: System.String
A string that contains the question and response in the following format, which assumes that 2 has been specified as the index and that the user has given 4 as the response: My Third Question;#4

See also

Reference

SPFieldRatingScaleValue class

SPFieldRatingScaleValue members

Microsoft.SharePoint namespace