Share via


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

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

value = instance.Item(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