Class MeCardQRCodeValueStringBuilder
Holds the information needed for a MeCard QR code to be validated and generated.
Namespace: Telerik.Barcode
Assembly: Telerik.Reporting.dll
Syntax
public class MeCardQRCodeValueStringBuilder : QRCodeValueStringBuilderBase, IQRCodeValueStringBuilder
Constructors
MeCardQRCodeValueStringBuilder(String, String, String, Nullable<DateTime>, String, String, String, String, String, String)
Initializes a new instance of the MeCardQRCodeValueStringBuilder class.
Declaration
public MeCardQRCodeValueStringBuilder(string name, string reading, string nickname, DateTime? birthday, string memo, string phoneNumber, string videoPhoneNumber, string email, string address, string url)
Parameters
System.String
name
The text string to be set as the name in the phonebook. |
System.String
reading
The text string to be set as the kana name in the phonebook. |
System.String
nickname
The text string to be set as the nickname in the phonebook. |
System.Nullable<System.DateTime>
birthday
The date to be set as the birthday in the phonebook. |
System.String
memo
The text string to be set as the memo in the phonebook. |
System.String
phoneNumber
The text string to be set as the telephone number in the phonebook. |
System.String
videoPhoneNumber
The text string to be set as the videophone number in the phonebook. |
System.String
email
The text string to be set as the e-mail address in the phonebook. |
System.String
address
The text string to be set as the address in the phonebook.The fields divided by commas (,) denote PO box, room number, house number, city, prefecture, zip code and country, in order. |
System.String
url
The text string to be set as the homepage URL in the phonebook. |
MeCardQRCodeValueStringBuilder(String, String, String, Nullable<DateTime>, String, String[], String[], String[], String[], String[])
Initializes a new instance of the MeCardQRCodeValueStringBuilder class.
Declaration
public MeCardQRCodeValueStringBuilder(string name, string reading, string nickname, DateTime? birthday, string memo, string[] phoneNumbers, string[] videoPhoneNumbers, string[] emails, string[] addresses, string[] urls)
Parameters
System.String
name
The text string to be set as the name in the phonebook. |
System.String
reading
The text string to be set as the kana name in the phonebook. |
System.String
nickname
The text string to be set as the nickname in the phonebook. |
System.Nullable<System.DateTime>
birthday
The date to be set as the birthday in the phonebook. |
System.String
memo
The text string to be set as the memo in the phonebook. |
System.String[]
phoneNumbers
A collection of text strings to be set as telephone numbers in the phonebook. |
System.String[]
videoPhoneNumbers
A collection of text strings to be set as the videophone numbers in the phonebook. |
System.String[]
emails
A collection of text strings to be set as the e-mail addresses in the phonebook. |
System.String[]
addresses
A collection of text strings to be set as the addresses in the phonebook.The fields divided by commas (,) denote PO box, room number, house number, city, prefecture, zip code and country, in order. |
System.String[]
urls
A collection of text strings to be set as the homepage URLs in the phonebook. |
Methods
BuildValue()
Builds the string value that will be used for encoding in a barcode.
Declaration
public override string BuildValue()
Returns
System.String
|
Overrides
Validate()
Validates and returns all errors as a new line delimited string.
Declaration
public override string Validate()
Returns
System.String
|