Class CalObject
Provides class for iCal objects.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI.Scheduler.ICalendar
Assembly: Telerik.WinControls.Scheduler.dll
Syntax
public class CalObject : IEquatable<CalObject>
Constructors
CalObject(String)
Initializes a new instance of the CalObject class.
Declaration
public CalObject(string name)
Parameters
System.String
name
The name. |
Properties
Children
Gets the children objects.
Declaration
public Collection<CalObject> Children { get; }
Property Value
System.Collections.ObjectModel.Collection<CalObject>
The children. |
Item[String]
Gets the CalProperty with the specified property name.
Declaration
public CalProperty this[string propertyName] { get; }
Parameters
System.String
propertyName
|
Property Value
CalProperty
|
Name
Gets the name.
Declaration
public string Name { get; }
Property Value
System.String
The name. |
Properties
Gets the properties.
Declaration
public Collection<CalProperty> Properties { get; }
Property Value
System.Collections.ObjectModel.Collection<CalProperty>
The properties. |
Methods
AddChildren(String)
Adds the children.
Declaration
public CalObject AddChildren(string name)
Parameters
System.String
name
The name. |
Returns
CalObject
|
AddProperty(String, String)
Adds the property.
Declaration
public CalProperty AddProperty(string key, string value)
Parameters
System.String
key
The key. |
System.String
value
The value. |
Returns
CalProperty
|
AddProperty(String, String, String, String)
Adds the property.
Declaration
public CalProperty AddProperty(string key, string value, string parameterKey, string parameterValue)
Parameters
System.String
key
The key. |
System.String
value
The value. |
System.String
parameterKey
The parameter key. |
System.String
parameterValue
The parameter value. |
Returns
CalProperty
|
ContainsProperty(String)
Determines whether the specified name contains property.
Declaration
public bool ContainsProperty(string name)
Parameters
System.String
name
The name. |
Returns
System.Boolean
|
Equals(CalObject)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(CalObject other)
Parameters
CalObject
other
An object to compare with this object. |
Returns
System.Boolean
True if the current object is equal to the |
Implements
GetChildrenByName(String)
Gets the child CalObject by name.
Declaration
public IList<CalObject> GetChildrenByName(string name)
Parameters
System.String
name
The name. |
Returns
System.Collections.Generic.IList<CalObject>
|
ToTimeZone(CalObject)
Toes the time zone.
Declaration
public static TimeZoneInfo ToTimeZone(CalObject calObject)
Parameters
CalObject
calObject
The cal object. |
Returns
TimeZoneInfo
|
Exceptions
CalendarParseException
|
VerifyPropertyIsNotNull(String)
Verifies the property is not null.
Declaration
public CalProperty VerifyPropertyIsNotNull(string propertyName)
Parameters
System.String
propertyName
Name of the property. |
Returns
CalProperty
|
Exceptions
CalendarParseException
|