Condividi tramite


SPRatingUsageEntry.FeedbackAnswerId Property

Gets or sets the ID of the predefined feedback answer that is logged.

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

Syntax

'Declaration
Public Property FeedbackAnswerId As Nullable(Of Guid)
    Get
    Set
'Usage
Dim instance As SPRatingUsageEntry
Dim value As Nullable(Of Guid)

value = instance.FeedbackAnswerId

instance.FeedbackAnswerId = value
public Nullable<Guid> FeedbackAnswerId { get; set; }

Property Value

Type: System.Nullable<Guid>
The feedback answer ID.

Remarks

Consider a feedback control with one question: "Is this Helpful?" There are two answers: "Yes" or "No". The FeedbackAnswerId property is the GUID of each answer. If you change the text of the answer from "Yes" to "Y", then this property should not change. However the logged FeedbackAnswerText property would change from "Yes" to "Y".

See Also

Reference

SPRatingUsageEntry Class

SPRatingUsageEntry Members

Microsoft.SharePoint.Administration Namespace