Class CustomProjectPropertyCollection

Class CustomProjectPropertyCollection

Le nom : Aspose.Tasks.Properties Assemblée: Aspose.Tasks.dll (25.4.0)

Esso rappresenta una raccolta di proprietà di progetto personalizzate.

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

Inheritance

object PropertyCollection PropertyKeyedCollection CustomProjectPropertyCollection

Implements

ICollection , IEnumerable , IEnumerable

I membri ereditari

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

Constructors

CustomProjectPropertyCollection()

Inizia una nuova instanza della classe Aspose.Tasks.Properties.CustomProjectPropertyCollection.

public CustomProjectPropertyCollection()

Properties

IsReadOnly

Riceve un valore che indica se questa raccolta è letta solo; altrimenti, falsa.

public override bool IsReadOnly { get; }

Valore di proprietà

bool

Methods

Add(String et String)

Crea una nuova proprietà personalizzata.

public CustomProjectProperty Add(string name, string value)

Parameters

name string

Il nome della proprietà.

value string

Il valore dell’oggetto di proprietà appena creato.

Returns

CustomProjectProperty

Il nuovo oggetto di proprietà.

Add(Télécharger, Bool)

Crea una nuova proprietà personalizzata.

public CustomProjectProperty Add(string name, bool value)

Parameters

name string

Il nome della proprietà.

value bool

Il valore dell’oggetto di proprietà appena creato.

Returns

CustomProjectProperty

Il nuovo oggetto di proprietà.

Add(Télécharger, double)

Crea una nuova proprietà personalizzata.

public CustomProjectProperty Add(string name, double value)

Parameters

name string

Il nome della proprietà.

value double

Il valore dell’oggetto di proprietà appena creato.

Returns

CustomProjectProperty

Il nuovo oggetto di proprietà.

Add(Télécharger, DateTime)

Crea una nuova proprietà personalizzata.

public CustomProjectProperty Add(string name, DateTime value)

Parameters

name string

Il nome della proprietà.

value DateTime

Il valore dell’oggetto di proprietà appena creato.

Returns

CustomProjectProperty

Il nuovo oggetto di proprietà.

Clear()

Chiarire la collezione immobiliare.

public void Clear()

Remove(Le string)

Rimuove una proprietà con il nome specificato dalla raccolta.

public bool Remove(string name)

Parameters

name string

Il nome insensibile della proprietà.

Returns

bool

È vero se l’elemento viene trovato e rimosso con successo; altrimenti, falso.

 Français