Class PropertyKeyedCollection

Class PropertyKeyedCollection

Pôvodný názov: Aspose.Tasks.Properties Zhromaždenie: Aspose.Tasks.dll (25.4.0)

Základná trieda zbierky nehnuteľností.

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

Typ parametrov

T

Druh nehnuteľnosti .

Inheritance

object PropertyCollection PropertyKeyedCollection

Implements

ICollection , IEnumerable , IEnumerable

Z dedičných členov

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

Constructors

PropertyKeyedCollection()

Iniciuje novú inštanciu triedy Aspose.Tasks.Properties.PropertyKeyedCollection`1.

protected PropertyKeyedCollection()

Properties

Count

Získava počet nehnuteľností v kolekcii.

public int Count { get; }

Hodnota nehnuteľnosti

int

IsReadOnly

Získava hodnotu, ktorá ukazuje, či je táto zbierka len čitateľná; inak, falošná.

public abstract bool IsReadOnly { get; }

Hodnota nehnuteľnosti

bool

Names

Dostane zbierku všetkých názvov nehnuteľností.

public ICollection<string> Names { get; }

Hodnota nehnuteľnosti

ICollection < string >

Toto[Stretnutie]

Získava majetok spojený s uvedeným kľúčom.

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

Hodnota nehnuteľnosti

T

Methods

Add(T)

Vytvorí novú vlastnú vlastnosť.

public void Add(T item)

Parameters

item T

Majetok na pridanie.

Contains(Stretnutie)

Určuje, či Aspose.Tasks.Properties.PropertyCollection`1 obsahuje majetok s uvedeným názvom.

public bool Contains(string name)

Parameters

name string

Názov nehnuteľnosti

Returns

bool

pravdivý, ak Aspose.Tasks.Properties.PropertyCollection`1 obsahuje majetok s uvedeným názvom; inak, falošné.

 Slovenčina