C# Class PhotoSharingApp.Portable.DataContracts.ReportContract

The data contract used for reporting content.
Show file Open project: Microsoft/Appsample-Photosharing Class Usage Examples

Public Properties

Property Type Description
Active bool
ContentId string
ContentType ContentType
CreatedDateTime System.DateTime
Id string
ReportReason ReportReason
ReporterUserId string

Property Details

Active public property

Determines if the report needs to be addressed.
public bool Active
return bool

ContentId public property

The Id of the photo or annotation.
public string ContentId
return string

ContentType public property

The content type.
public ContentType ContentType
return ContentType

CreatedDateTime public property

The timestamp it was reported.
public DateTime,System CreatedDateTime
return System.DateTime

Id public property

Report Id.
public string Id
return string

ReportReason public property

The reason why it was reported.
public ReportReason ReportReason
return ReportReason

ReporterUserId public property

The user id who reported the content.
public string ReporterUserId
return string