com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class CustomProjectPropertyCollection

    • Constructor Detail

    • Method Detail

      • add

        public final CustomProjectProperty add(String name,
                                               String value)

        Creates a new custom property.

        Parameters:
        name - The name of the property.
        value - The newly created property object value.
        Returns:
        The newly created property object.
      • add

        public final CustomProjectProperty add(String name,
                                               boolean value)

        Creates a new custom property.

        Parameters:
        name - The name of the property.
        value - The newly created property object value.
        Returns:
        The newly created property object.
      • add

        public final CustomProjectProperty add(String name,
                                               double value)

        Creates a new custom property.

        Parameters:
        name - The name of the property.
        value - The newly created property object value.
        Returns:
        The newly created property object.
      • add

        public final CustomProjectProperty add(String name,
                                               Date value)

        Creates a new custom property.

        Parameters:
        name - The name of the property.
        value - The newly created property object value.
        Returns:
        The newly created property object.
      • isReadOnly

        public boolean isReadOnly()

        Gets a value indicating whether this collection is read-only; otherwise, false.

        Specified by:
        isReadOnly in class PropertyKeyedCollection<CustomProjectProperty>
        Returns:
        a value indicating whether this collection is read-only; otherwise, false.
      • remove

        public final boolean remove(String name)

        Removes a property with the specified name from the collection.

        Parameters:
        name - The case-insensitive name of the property.
        Returns:
        True if the element is successfully found and removed; otherwise, false.