Aspose::Email::Calendar::Recurrences::RecurrenceRuleCollection Class Reference

Represents a collection of RecurrenceRule objects. More...

Inherits System::Collections::ObjectModel::Collection< System::SharedPtr< Aspose::Email::Calendar::Recurrences::RecurrenceRule > >.

Public Member Functions

 RecurrenceRuleCollection ()
 
 RecurrenceRuleCollection (System::SharedPtr< RecurrenceRuleCollection > collection)
 
System::SharedPtr< RecurrenceRuleAdd ()
 Adds a RecurrenceRule to the collection. More...
 
int32_t Add (System::SharedPtr< RecurrenceRule > rule)
 Adds a RecurrenceRule to the collection. More...
 
virtual bool Equals (System::SharedPtr< RecurrenceRuleCollection > other)
 Determines whether the specified RecurrenceRuleCollection is equal to this instance. More...
 
bool Equals (System::SharedPtr< System::Object > obj) override
 Determines whether the specified System::Object is equal to this instance. More...
 
int32_t GetHashCode () const override
 Returns a hash code for this instance. More...
 
void SetTemplateWeakPtr (uint32_t argument) override
 

Protected Member Functions

virtual ~RecurrenceRuleCollection ()
 

Friends

class Aspose::Email::Calendar::Recurrences::CalendarRecurrence
 

Detailed Description

Represents a collection of RecurrenceRule objects.

Corresponds to a collection of RRULE or EXRULE parts of a recurrence pattern.

Constructor & Destructor Documentation

◆ RecurrenceRuleCollection() [1/2]

Aspose::Email::Calendar::Recurrences::RecurrenceRuleCollection::RecurrenceRuleCollection ( )

◆ RecurrenceRuleCollection() [2/2]

Aspose::Email::Calendar::Recurrences::RecurrenceRuleCollection::RecurrenceRuleCollection ( System::SharedPtr< RecurrenceRuleCollection collection)

◆ ~RecurrenceRuleCollection()

virtual Aspose::Email::Calendar::Recurrences::RecurrenceRuleCollection::~RecurrenceRuleCollection ( )
protectedvirtual

Member Function Documentation

◆ Add() [1/2]

System::SharedPtr<RecurrenceRule> Aspose::Email::Calendar::Recurrences::RecurrenceRuleCollection::Add ( )

Adds a RecurrenceRule to the collection.

Returns
The zero-based index of the newly added item.

◆ Add() [2/2]

int32_t Aspose::Email::Calendar::Recurrences::RecurrenceRuleCollection::Add ( System::SharedPtr< RecurrenceRule rule)

Adds a RecurrenceRule to the collection.

Parameters
ruleThe RecurrenceRule to add.
Returns
The zero-based index of the newly added item.

◆ Equals() [1/2]

virtual bool Aspose::Email::Calendar::Recurrences::RecurrenceRuleCollection::Equals ( System::SharedPtr< RecurrenceRuleCollection other)
virtual

Determines whether the specified RecurrenceRuleCollection is equal to this instance.

Parameters
otherThe RecurrenceRuleCollection to compare with this instance.
Returns
true if the specified RecurrenceRuleCollection is equal to this instance; otherwise, false.

◆ Equals() [2/2]

bool Aspose::Email::Calendar::Recurrences::RecurrenceRuleCollection::Equals ( System::SharedPtr< System::Object >  obj)
override

Determines whether the specified System::Object is equal to this instance.

Parameters
objThe System::Object to compare with this instance.
Returns
true if the specified System::Object is equal to this instance; otherwise, false.
Exceptions
T:System::NullReferenceExceptionThe obj parameter is null.

◆ GetHashCode()

int32_t Aspose::Email::Calendar::Recurrences::RecurrenceRuleCollection::GetHashCode ( ) const
override

Returns a hash code for this instance.

Returns
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

◆ SetTemplateWeakPtr()

void Aspose::Email::Calendar::Recurrences::RecurrenceRuleCollection::SetTemplateWeakPtr ( uint32_t  argument)
override

Friends And Related Function Documentation

◆ Aspose::Email::Calendar::Recurrences::CalendarRecurrence