Class ICalProperty
A raw iCalendar property (RFC 5545 §3.3). Consists of a name, an optional list of
parameters, and a value. This type provides raw access to any property, including
those not covered by the typed Calendar model (e.g.
X-MICROSOFT-* extension properties).
Inherited Members
Namespace: DRIT.Mail.Rfc.ICal
Assembly: DRIT.Mail.dll
Syntax
public sealed class ICalProperty
Constructors
View SourceICalProperty(string, string)
Initializes a new instance of the ICalProperty class with no parameters.
Declaration
public ICalProperty(string name, string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The property name (e.g. |
| string | value | The raw property value (escapes preserved, before unescaping). |
ICalProperty(string, string, IReadOnlyList<ICalParameter>)
Initializes a new instance of the ICalProperty class.
Declaration
public ICalProperty(string name, string value, IReadOnlyList<ICalParameter> parameters)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The property name (e.g. |
| string | value | The raw property value (escapes preserved, before unescaping). |
| IReadOnlyList<ICalParameter> | parameters | The parameters associated with this property. |
Properties
View SourceName
Gets the property name (e.g. DTSTART, SUMMARY,
X-MICROSOFT-CDO-BUSYSTATUS).
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
Parameters
Gets the parameters associated with this property. May be empty.
Declaration
public IReadOnlyList<ICalParameter> Parameters { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<ICalParameter> |
Value
Gets the raw property value (escapes preserved, before unescaping). Use Unescape(string) to decode text values.
Declaration
public string Value { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
View SourceToString()
Processes the to string data.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |