VCardValue Class
A value of a vCard with its types: an email address, a telephone number, a URL...
public sealed class VCardValueConstructors
| Name | Description |
|---|---|
| VCardValue(string, IEnumerable<string>) | Creates a value. |
VCardValue(string, IEnumerable<string>)
VCardValue.csCreates a value.
public VCardValue(string value, params IEnumerable<string> types)Parameters
valuestring- The value.
typesIEnumerable<string>- The types, such as
work,home,cell,voiceorpref.
Properties
| Name | Description |
|---|---|
| Types | Gets the types, in lower case, such as work, home, cell, fax or pref. |
| Value | Gets or sets the value. |
Types
VCardValue.csGets the types, in lower case, such as work, home, cell, fax or pref.
Property value
Value
VCardValue.csMethods
| Name | Description |
|---|---|
| HasType(string) | Gets whether the value has a type. |
| ToString() | Returns the value. |