Class PropertyKeyedCollection

Class PropertyKeyedCollection

이름 공간 : Aspose.Tasks.Properties 모임: Aspose.Tasks.dll (25.4.0)

부동산 수집의 기본 클래스.

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

파라미터 유형

T

재산의 종류

Inheritance

object PropertyCollection PropertyKeyedCollection

Implements

ICollection , IEnumerable , IEnumerable

상속 회원들

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

Constructors

PropertyKeyedCollection()

Aspose.Tasks.Properties.PropertyKeyedCollection`1 클래스의 새로운 사례를 시작합니다.

protected PropertyKeyedCollection()

Properties

Count

그것은 컬렉션에있는 재산의 수를 얻습니다.

public int Count { get; }

부동산 가치

int

IsReadOnly

이 컬렉션이 읽을 수 있는지 여부를 나타내는 값을 얻습니다; 그렇지 않으면 가짜입니다.

public abstract bool IsReadOnly { get; }

부동산 가치

bool

Names

모든 부동산 이름을 수집합니다.

public ICollection<string> Names { get; }

부동산 가치

ICollection &lt에 대한 정보 string >

이것이[스트리트]

지정된 키와 관련된 부동산을 얻습니다.

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

부동산 가치

T

Methods

Add(T)

새로운 특정 부동산을 만듭니다.

public void Add(T item)

Parameters

item T

부동산이 추가됩니다.

Contains(스트리트)

Aspose.Tasks.Properties.PropertyCollection`1에는 지정된 이름을 가진 재산이 있는지 여부를 결정합니다.

public bool Contains(string name)

Parameters

name string

부동산의 이름

Returns

bool

가치가 있는 경우 Aspose.Tasks.Properties.PropertyCollection`1에는 지정된 이름을 가진 재산이 포함되어 있습니다; 그렇지 않으면 가짜입니다.

 한국어