ClassMeCardQRCodeValueStringBuilder
Holds the information needed for a MeCard QR code to be validated and generated.
Definition
Namespace:Telerik.Barcode
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public class MeCardQRCodeValueStringBuilder : QRCodeValueStringBuilderBase, IQRCodeValueStringBuilder
Inheritance: objectQRCodeValueStringBuilderBaseMeCardQRCodeValueStringBuilder
Implements:
Constructors
MeCardQRCodeValueStringBuilder(string, string, string, 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
name
The text string to be set as the name in the phonebook.
reading
The text string to be set as the kana name in the phonebook.
nickname
The text string to be set as the nickname in the phonebook.
birthday
The date to be set as the birthday in the phonebook.
memo
The text string to be set as the memo in the phonebook.
phoneNumber
The text string to be set as the telephone number in the phonebook.
videoPhoneNumber
The text string to be set as the videophone number in the phonebook.
The text string to be set as the e-mail address in the phonebook.
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.
url
The text string to be set as the homepage URL in the phonebook.
MeCardQRCodeValueStringBuilder(string, string, string, 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
name
The text string to be set as the name in the phonebook.
reading
The text string to be set as the kana name in the phonebook.
nickname
The text string to be set as the nickname in the phonebook.
birthday
The date to be set as the birthday in the phonebook.
memo
The text string to be set as the memo in the phonebook.
phoneNumbers
string[]
A collection of text strings to be set as telephone numbers in the phonebook.
videoPhoneNumbers
string[]
A collection of text strings to be set as the videophone numbers in the phonebook.
emails
string[]
A collection of text strings to be set as the e-mail addresses in the phonebook.
addresses
string[]
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.
urls
string[]
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.
Validate()
Validates and returns all errors as a new line delimited string.