class ForumRepliesCreateOptions
{
string ContentType { get; set; }
IList<ExtendedAttribute> ExtendedAttributes { get; set; }
Byte[] FileData { get; set; }
string FileName { get; set; }
Stream FileStream { get; set; }
string FileUploadContext { get; set; }
string FileUrl { get; set; }
int? ForumId { get; set; }
int? ForumReplyId { get; set; }
bool? IsAnonymous { get; set; }
bool? IsAnswer { get; set; }
bool? IsSuggestedAnswer { get; set; }
DateTime? PostDate { get; set; }
bool? SubscribeToThread { get; set; }
string Tags { get; set; }
}
|
名称 |
类型 |
描述 |
默认值 |
选项 |
|
ContentType |
string |
Used when adding a post attachement. |
||
|
ExtendedAttributes |
IList<ExtendedAttribute> |
ExtendedAttributes |
||
|
FileData |
Byte[] |
When adding a post attachment either FileData, FileUrl or FileUploadContext is required. |
||
|
FileName |
string |
Used when adding a post attachement. |
||
|
FileStream |
Stream |
Used when adding a post attachement. |
||
|
FileUploadContext |
string |
When adding a post attachment either FileData, FileUrl or FileUploadContext is required. |
||
|
FileUrl |
string |
When adding a post attachment either FileData, FileUrl or FileUploadContext is required. |
||
|
ForumId |
int? |
Id of the forum |
||
|
ForumReplyId |
int? |
Forum Reply Id |
||
|
IsAnonymous |
bool? |
Used when the reply should be made anonymously |
||
|
IsAnswer |
bool? |
Only applied to replies to threads that are questions. |
||
|
IsSuggestedAnswer |
bool? |
Only applied to replies to threads that are questions. |
||
|
PostDate |
DateTime? |
Defaults to current datetime if not specified. |
||
|
SubscribeToThread |
bool? |
Whether the thread should be subscribed |
||
|
Tags |
string |
A comma separated list of tags. |