Class PropertyKeyedCollection

Class PropertyKeyedCollection

Nombre del espacio: Aspose.Tasks.Properties Asamblea: Aspose.Tasks.dll (25.4.0)

Una clase básica de recogida de propiedades.

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

Tipos de Parámetros

T

El tipo de propiedad.

Inheritance

object PropertyCollection PropertyKeyedCollection

Implements

ICollection ,y, IEnumerable ,y, IEnumerable

Miembros heredados

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

Constructors

PropertyKeyedCollection()

Inicia una nueva instancia de la clase Aspose.Tasks.Properties.PropertyKeyedCollection`1.

protected PropertyKeyedCollection()

Properties

Count

Tiene el número de propiedades en la colección.

public int Count { get; }

Valor de la propiedad

int

IsReadOnly

Recibe un valor que indica si esta colección es sólo leída; de lo contrario, falsa.

public abstract bool IsReadOnly { get; }

Valor de la propiedad

bool

Names

Recibe la colección de todos los nombres de propiedad.

public ICollection<string> Names { get; }

Valor de la propiedad

ICollection &ylt; string >

Este[El string]

Obtenga la Propiedad asociada con la clave especificada.

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

Valor de la propiedad

T

Methods

Add(T)

Crea una nueva propiedad personalizada.

public void Add(T item)

Parameters

item T

La propiedad que se añade.

Contains(El string)

Determina si el Aspose.Tasks.Properties.PropertyCollection`1 contiene una propiedad con el nombre especificado.

public bool Contains(string name)

Parameters

name string

El nombre de una propiedad

Returns

bool

true si el Aspose.Tasks.Properties.PropertyCollection`1 contiene una propiedad con el nombre especificado; de lo contrario, falso.

 Español