Class AttachmentInfo
Attachment Info.
[DataContract]
public class AttachmentInfo
- Inheritance
-
AttachmentInfo
- Inherited Members
Constructors
AttachmentInfo()
Initializes a new instance of the AttachmentInfo class.
[JsonConstructor]
protected AttachmentInfo()
AttachmentInfo(string, string, List<string>)
Initializes a new instance of the AttachmentInfo class.
public AttachmentInfo(string title = null, string description = null, List<string> acceptedFileTypes = null)
Parameters
title
stringplaceHolder.
description
stringdescription.
acceptedFileTypes
List<string>acceptedFileTypes.
AttachmentInfo(string, string, string)
Initializes a new instance of the AttachmentInfo class.
[Obsolete("AllowedFileTypes is deprecated, please use AcceptedFileTypes instead.")]
public AttachmentInfo(string title = null, string description = null, string allowedFileTypes = null)
Parameters
Properties
AcceptedFileTypes
Gets or sets the accepted file types such as DOCUMENT, PDF and IMAGE. Example: ["PDF", "DOCUMENT", "IMAGE"].
[DataMember(Name = "acceptedFileTypes", EmitDefaultValue = false)]
public List<string> AcceptedFileTypes { get; set; }
Property Value
AllowedFileTypes
Gets or sets the allowed file types such as document, pdf and image. Example: "document,image".
[DataMember(Name = "allowedFileTypes", EmitDefaultValue = true)]
[Obsolete("AllowedFileTypes is deprecated, please use AcceptedFileTypes instead.")]
public string AllowedFileTypes { get; set; }
Property Value
Description
Gets or sets the description.
[DataMember(Name = "description", EmitDefaultValue = false)]
public string Description { get; set; }
Property Value
Title
Gets or sets the title.
[DataMember(Name = "title", EmitDefaultValue = true)]
public string Title { get; set; }