Class CustomProjectPropertyCollection

Class CustomProjectPropertyCollection

Namespace: Aspose.Tasks.Properties
Assembly: Aspose.Tasks.dll (25.2.0)

Represents a collection of custom project properties.

public sealed class CustomProjectPropertyCollection : PropertyKeyedCollection<customprojectproperty>, ICollection<customprojectproperty>, IEnumerable<customprojectproperty>, IEnumerable

Inheritance

objectPropertyCollection<customprojectproperty>PropertyKeyedCollection<customprojectproperty>CustomProjectPropertyCollection

Implements

ICollection<customprojectproperty>, IEnumerable<customprojectproperty>, IEnumerable

Inherited Members

PropertyKeyedCollection<customprojectproperty>.Contains(string), PropertyKeyedCollection<customprojectproperty>.Add(CustomProjectProperty), PropertyKeyedCollection<customprojectproperty>.Names, PropertyKeyedCollection<customprojectproperty>.Count, PropertyKeyedCollection<customprojectproperty>.IsReadOnly, PropertyKeyedCollection<customprojectproperty>.this[string], object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

CustomProjectPropertyCollection()

Initializes a new instance of the Aspose.Tasks.Properties.CustomProjectPropertyCollection class.

public CustomProjectPropertyCollection()

Properties

IsReadOnly

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

public override bool IsReadOnly { get; }

Property Value

bool

Methods

Add(string, string)

Creates a new custom property.

public CustomProjectProperty Add(string name, string value)

Parameters

name string

The name of the property.

value string

The newly created property object value.

Returns

CustomProjectProperty

The newly created property object.

Add(string, bool)

Creates a new custom property.

public CustomProjectProperty Add(string name, bool value)

Parameters

name string

The name of the property.

value bool

The newly created property object value.

Returns

CustomProjectProperty

The newly created property object.

Add(string, double)

Creates a new custom property.

public CustomProjectProperty Add(string name, double value)

Parameters

name string

The name of the property.

value double

The newly created property object value.

Returns

CustomProjectProperty

The newly created property object.

Add(string, DateTime)

Creates a new custom property.

public CustomProjectProperty Add(string name, DateTime value)

Parameters

name string

The name of the property.

value DateTime

The newly created property object value.

Returns

CustomProjectProperty

The newly created property object.

Clear()

Clears the PropertyCollection.

public void Clear()

Remove(string)

Removes a property with the specified name from the collection.

public bool Remove(string name)

Parameters

name string

The case-insensitive name of the property.

Returns

bool

True if the element is successfully found and removed; otherwise, false. </customprojectproperty></customprojectproperty></customprojectproperty></customprojectproperty></customprojectproperty></customprojectproperty></customprojectproperty></customprojectproperty></customprojectproperty></customprojectproperty>