Class PropertyKeyedCollection

Class PropertyKeyedCollection

ja nimityö: Aspose.Tasks.Properties Kokoelma: Aspose.Tasks.dll (25.4.0)

Perusluokka kiinteistöjen keräämisestä.

public abstract class PropertyKeyedCollection<t> : PropertyCollection<t>, ICollection<t>, IEnumerable<t>, IEnumerable where T : Property

Parametrien tyyppi

T

omistuksen tyyppiä varten.

Inheritance

object PropertyCollection PropertyKeyedCollection

Implements

ICollection , IEnumerable , IEnumerable

Perintöjäsenet

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

PropertyKeyedCollection()

Aloitetaan Aspose.Tasks.Properties.PropertyKeyedCollection`1 luokan uusi esimerkki.

protected PropertyKeyedCollection()

Properties

Count

Saat kokoelman ominaisuuksien lukumäärän.

public int Count { get; }

Omistuksen arvo

int

IsReadOnly

Saat arvon, joka osoittaa, onko tämä kokoelma vain lukea; muuten, väärennös.

public abstract bool IsReadOnly { get; }

Omistuksen arvo

bool

Names

Saat kokoelman kaikista kiinteistöjen nimistä.

public ICollection<string> Names { get; }

Omistuksen arvo

ICollection < string >

Tämä[String]

Saat kiinteistön, joka on yhdistetty määritellyn avaimen kanssa.

public T this[string name] { get; protected set; }

Omistuksen arvo

T

Methods

Add(T)

Luo uusi omistusoikeus.

public void Add(T item)

Parameters

item T

omaisuus lisätään.

Contains(String)

Määrittää, sisältääkö Aspose.Tasks.Properties.PropertyCollection`1 omaisuutta, jossa on määritetty nimi.

public bool Contains(string name)

Parameters

name string

Omistuksen nimi

Returns

bool

todellinen, jos Aspose.Tasks.Properties.PropertyCollection`1 sisältää omaisuuden, jossa on mainittu nimi; muuten, väärä.

 Suomi