Class
MeCardQRCodeValueStringBuilder

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:

cs-api-definition
public class MeCardQRCodeValueStringBuilder : QRCodeValueStringBuilderBase, IQRCodeValueStringBuilder

Inheritance: objectQRCodeValueStringBuilderBaseMeCardQRCodeValueStringBuilder

Implements: IQRCodeValueStringBuilder

Constructors

MeCardQRCodeValueStringBuilder(string, string, string, DateTime?, string, string, string, string, string, string)

Initializes a new instance of the MeCardQRCodeValueStringBuilder class.

Declaration

cs-api-definition
public MeCardQRCodeValueStringBuilder(string name, string reading, string nickname, DateTime? birthday, string memo, string phoneNumber, string videoPhoneNumber, string email, string address, string url)

Parameters

name

string

The text string to be set as the name in the phonebook.

reading

string

The text string to be set as the kana name in the phonebook.

nickname

string

The text string to be set as the nickname in the phonebook.

birthday

DateTime?

The date to be set as the birthday in the phonebook.

memo

string

The text string to be set as the memo in the phonebook.

phoneNumber

string

The text string to be set as the telephone number in the phonebook.

videoPhoneNumber

string

The text string to be set as the videophone number in the phonebook.

email

string

The text string to be set as the e-mail address in the phonebook.

address

string

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

string

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

cs-api-definition
public MeCardQRCodeValueStringBuilder(string name, string reading, string nickname, DateTime? birthday, string memo, string[] phoneNumbers, string[] videoPhoneNumbers, string[] emails, string[] addresses, string[] urls)

Parameters

name

string

The text string to be set as the name in the phonebook.

reading

string

The text string to be set as the kana name in the phonebook.

nickname

string

The text string to be set as the nickname in the phonebook.

birthday

DateTime?

The date to be set as the birthday in the phonebook.

memo

string

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.

Declaration

cs-api-definition
public override string BuildValue()

Returns

string

Overrides QRCodeValueStringBuilderBase.BuildValue()

Validate()

Validates and returns all errors as a new line delimited string.

Declaration

cs-api-definition
public override string Validate()

Returns

string

Overrides QRCodeValueStringBuilderBase.Validate()