|
Aspose.Tasks for C++
|
Represents a collection of custom project properties. More...
#include <CustomProjectPropertyCollection.h>
Public Member Functions | |
| bool | get_IsReadOnly () const override |
| Gets a value indicating whether this collection is read-only; otherwise, false. More... | |
| CustomProjectPropertyCollection () | |
| Initializes a new instance of the CustomProjectPropertyCollection class. More... | |
| bool | Remove (const System::String &name) |
| Removes a property with the specified name from the collection. More... | |
| System::SharedPtr< CustomProjectProperty > | Add (const System::String &name, const System::String &value) |
| Creates a new custom property. More... | |
| System::SharedPtr< CustomProjectProperty > | Add (const System::String &name, bool value) |
| Creates a new custom property. More... | |
| System::SharedPtr< CustomProjectProperty > | Add (const System::String &name, double value) |
| Creates a new custom property. More... | |
| System::SharedPtr< CustomProjectProperty > | Add (const System::String &name, System::DateTime value) |
| Creates a new custom property. More... | |
Public Member Functions inherited from Aspose::Tasks::Properties::PropertyKeyedCollection< System::SharedPtr< Aspose::Tasks::Properties::CustomProjectProperty > > | |
| System::SharedPtr< System::Collections::Generic::ICollection< System::String > > | get_Names () |
| Gets the collection of all property names. More... | |
| int32_t | get_Count () const override |
| Gets the number of properties in the collection. More... | |
| bool | get_IsReadOnly () const override=0 |
| Gets a value indicating whether this collection is read-only; otherwise, false. More... | |
| System::SharedPtr< Aspose::Tasks::Properties::CustomProjectProperty > | idx_get (const System::String &name) |
| Gets the Property associated with the specified key. More... | |
| void | Clear () override |
| bool | Contains (const System::String &name) const |
| Determines whether the Aspose::Tasks::Properties::PropertyCollection<T> contains a property with the specified name. More... | |
| void | Add (const System::SharedPtr< Aspose::Tasks::Properties::CustomProjectProperty > &item) override |
| Creates a new custom property. More... | |
Represents a collection of custom project properties.
| Aspose::Tasks::Properties::CustomProjectPropertyCollection::CustomProjectPropertyCollection | ( | ) |
Initializes a new instance of the CustomProjectPropertyCollection class.
| System::SharedPtr<CustomProjectProperty> Aspose::Tasks::Properties::CustomProjectPropertyCollection::Add | ( | const System::String & | name, |
| bool | value | ||
| ) |
Creates a new custom property.
| name | The name of the property. |
| value | The newly created property object value. |
| System::SharedPtr<CustomProjectProperty> Aspose::Tasks::Properties::CustomProjectPropertyCollection::Add | ( | const System::String & | name, |
| const System::String & | value | ||
| ) |
Creates a new custom property.
| name | The name of the property. |
| value | The newly created property object value. |
| System::SharedPtr<CustomProjectProperty> Aspose::Tasks::Properties::CustomProjectPropertyCollection::Add | ( | const System::String & | name, |
| double | value | ||
| ) |
Creates a new custom property.
| name | The name of the property. |
| value | The newly created property object value. |
| System::SharedPtr<CustomProjectProperty> Aspose::Tasks::Properties::CustomProjectPropertyCollection::Add | ( | const System::String & | name, |
| System::DateTime | value | ||
| ) |
Creates a new custom property.
| name | The name of the property. |
| value | The newly created property object value. |
|
override |
Gets a value indicating whether this collection is read-only; otherwise, false.
| bool Aspose::Tasks::Properties::CustomProjectPropertyCollection::Remove | ( | const System::String & | name | ) |
Removes a property with the specified name from the collection.
| name | The case-insensitive name of the property. |