Class CustomProjectPropertyCollection
ja nimityö: Aspose.Tasks.Properties Kokoelma: Aspose.Tasks.dll (25.5.0)
Se edustaa yksilöllisten hankkeiden ominaisuuksien kokoelmaa.
public sealed class CustomProjectPropertyCollection : PropertyKeyedCollection<customprojectproperty>, ICollection<customprojectproperty>, IEnumerable<customprojectproperty>, IEnumerableInheritance
object
←
PropertyCollection
Implements
ICollection
Perintöjäsenet
PropertyKeyedCollection
Constructors
CustomProjectPropertyCollection()
Aloita Aspose.Tasks.Properties.CustomProjectPropertyCollection -luokan uusi esimerkki.
public CustomProjectPropertyCollection()Properties
IsReadOnly
Saat arvon, joka osoittaa, onko tämä kokoelma vain lukea; muuten, väärennös.
public override bool IsReadOnly { get; }Omistuksen arvo
Methods
Add(String ja String)
Luo uusi omistusoikeus.
public CustomProjectProperty Add(string name, string value)Parameters
name string
omaisuuden nimi.
value string
Uudelleen luotu omaisuus objektiarvo.
Returns
Uudelleen luotu omaisuus.
Add(Sormus ja bool)
Luo uusi omistusoikeus.
public CustomProjectProperty Add(string name, bool value)Parameters
name string
omaisuuden nimi.
value bool
Uudelleen luotu omaisuus objektiarvo.
Returns
Uudelleen luotu omaisuus.
Add(Kaksinkertainen, kaksinkertainen)
Luo uusi omistusoikeus.
public CustomProjectProperty Add(string name, double value)Parameters
name string
omaisuuden nimi.
value double
Uudelleen luotu omaisuus objektiarvo.
Returns
Uudelleen luotu omaisuus.
Add(Tiivistelmä, DateTime)
Luo uusi omistusoikeus.
public CustomProjectProperty Add(string name, DateTime value)Parameters
name string
omaisuuden nimi.
value DateTime
Uudelleen luotu omaisuus objektiarvo.
Returns
Uudelleen luotu omaisuus.
Clear()
Puhdistaa omaisuuden keräys.
public void Clear()Remove(String)
Poistaa omaisuus, jolla on ilmoitettu nimi kokoelmasta.
public bool Remove(string name)Parameters
name string
Omistuksen epäherkkä nimi.
Returns
Totuus, jos elementti on onnistuneesti löydetty ja poistettu; muuten, väärä.