Class PropertyKeyedCollection

Class PropertyKeyedCollection

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

Una classe di base della raccolta di proprietà.

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

Tipo di parametri

T

Il tipo di proprietà.

Inheritance

object PropertyCollection PropertyKeyedCollection

Implements

ICollection , IEnumerable , IEnumerable

I membri ereditari

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

Constructors

PropertyKeyedCollection()

Initialisez une nouvelle instance de la classe Aspose.Tasks.Properties.PropertyKeyedCollection`1.

protected PropertyKeyedCollection()

Properties

Count

Riceve il numero di proprietà nella collezione.

public int Count { get; }

Valore di proprietà

int

IsReadOnly

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

public abstract bool IsReadOnly { get; }

Valore di proprietà

bool

Names

Riceve la raccolta di tutti i nomi di proprietà.

public ICollection<string> Names { get; }

Valore di proprietà

ICollection di < string >

Ceci[Le string]

Riceve la proprietà associata alla chiave specificata.

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

Valore di proprietà

T

Methods

Add(T)

Crea una nuova proprietà personalizzata.

public void Add(T item)

Parameters

item T

La proprietà da aggiungere.

Contains(Le string)

Il détermine si le Aspose.Tasks.Properties.PropertyCollection`1 contient une propriété avec le nom indiqué.

public bool Contains(string name)

Parameters

name string

Il nome di una proprietà

Returns

bool

vrai s’il y a une propriété avec le nom spécifié dans Aspose.Tasks.Properties.PropertyCollection`1 ; autrement, faux.

 Français