• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

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).

Inheritance
object
ICalProperty
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Mail.Rfc.ICal
Assembly: DRIT.Mail.dll
Syntax
public sealed class ICalProperty

Constructors

View Source

ICalProperty(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. SUMMARY, X-MICROSOFT-CDO-BUSYSTATUS).

string value

The raw property value (escapes preserved, before unescaping).

View Source

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. DTSTART, SUMMARY).

string value

The raw property value (escapes preserved, before unescaping).

IReadOnlyList<ICalParameter> parameters

The parameters associated with this property.

Properties

View Source

Name

Gets the property name (e.g. DTSTART, SUMMARY, X-MICROSOFT-CDO-BUSYSTATUS).

Declaration
public string Name { get; }
Property Value
Type Description
string
View Source

Parameters

Gets the parameters associated with this property. May be empty.

Declaration
public IReadOnlyList<ICalParameter> Parameters { get; }
Property Value
Type Description
IReadOnlyList<ICalParameter>
View Source

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 Source

ToString()

Processes the to string data.

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()
  • View Source
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX