SPRatingUsageEntry.FeedbackQuestionId Property

Gets or sets the ID of the feedback question that is logged.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property FeedbackQuestionId As Guid
    Get
    Set
'Usage
Dim instance As SPRatingUsageEntry
Dim value As Guid

value = instance.FeedbackQuestionId

instance.FeedbackQuestionId = value
public Guid FeedbackQuestionId { get; set; }

Property Value

Type: System.Guid
The ID of the feedback question.

Remarks

Consider a feedback control with two questions. The first question is "Is this Helpful, Yes or No?". The second question varies depending on the answer to the first question. The FeedbackQuestionId property is the GUID that represents both the first question and second question. If you change the text from "Is this helpful, Yes or No?" to "Was this helpful, Yes or No?", the FeedbackQuestionId property should not change. However the logged FeedbackQuestionText property should change from "Is this helpful, Yes or No?" to "Was this helpful, Yes or No?".

See Also

Reference

SPRatingUsageEntry Class

SPRatingUsageEntry Members

Microsoft.SharePoint.Administration Namespace