Class CustomProjectPropertyCollection

Class CustomProjectPropertyCollection

ชื่อพื้นที่: Aspose.Tasks.Properties การประกอบ: Aspose.Tasks.dll (25.4.0)

แสดงให้เห็นถึงชุดของคุณสมบัติโครงการที่กําหนดเอง

public sealed class CustomProjectPropertyCollection : PropertyKeyedCollection<customprojectproperty>, ICollection<customprojectproperty>, IEnumerable<customprojectproperty>, IEnumerable

Inheritance

object PropertyCollection PropertyKeyedCollection CustomProjectPropertyCollection

Implements

ICollection , IEnumerable , IEnumerable

อนุญาโตตุลาการ

PropertyKeyedCollection.Contains(string) , PropertyKeyedCollection.Add(CustomProjectProperty) , PropertyKeyedCollection.Names , PropertyKeyedCollection.Count , PropertyKeyedCollection.IsReadOnly , PropertyKeyedCollection.this[string] , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

CustomProjectPropertyCollection()

เปิดตัวตัวอย่างใหม่ของคลาส Aspose.Tasks.Properties.CustomProjectPropertyCollection

public CustomProjectPropertyCollection()

Properties

IsReadOnly

ได้รับค่าที่แสดงให้เห็นว่าการเก็บรวบรวมนี้จะอ่านเพียง แต่หรือไม่ อย่างไรก็ตามการทําผิดพลาด

public override bool IsReadOnly { get; }

คุณสมบัติมูลค่า

bool

Methods

Add(รั้ว, รั้ว)

สร้างทรัพย์สินที่กําหนดเองใหม่

public CustomProjectProperty Add(string name, string value)

Parameters

name string

ชื่อของทรัพย์สิน

value string

วัตถุมูลค่าของสินทรัพย์ที่สร้างขึ้นใหม่

Returns

CustomProjectProperty

วัตถุทรัพย์สินที่สร้างขึ้นใหม่

Add(บอล, บอล)

สร้างทรัพย์สินที่กําหนดเองใหม่

public CustomProjectProperty Add(string name, bool value)

Parameters

name string

ชื่อของทรัพย์สิน

value bool

วัตถุมูลค่าของสินทรัพย์ที่สร้างขึ้นใหม่

Returns

CustomProjectProperty

วัตถุทรัพย์สินที่สร้างขึ้นใหม่

Add(คู่, คู่)

สร้างทรัพย์สินที่กําหนดเองใหม่

public CustomProjectProperty Add(string name, double value)

Parameters

name string

ชื่อของทรัพย์สิน

value double

วัตถุมูลค่าของสินทรัพย์ที่สร้างขึ้นใหม่

Returns

CustomProjectProperty

วัตถุทรัพย์สินที่สร้างขึ้นใหม่

Add(รั้ว, DateTime)

สร้างทรัพย์สินที่กําหนดเองใหม่

public CustomProjectProperty Add(string name, DateTime value)

Parameters

name string

ชื่อของทรัพย์สิน

value DateTime

วัตถุมูลค่าของสินทรัพย์ที่สร้างขึ้นใหม่

Returns

CustomProjectProperty

วัตถุทรัพย์สินที่สร้างขึ้นใหม่

Clear()

ทําความสะอาดการเก็บเกี่ยวทรัพย์สิน

public void Clear()

Remove(รั้ว)

ลบทรัพย์สินที่มีชื่อที่ระบุจากการเก็บรวบรวม

public bool Remove(string name)

Parameters

name string

ชื่อที่ผิดปกติของทรัพย์สิน

Returns

bool

จริงถ้าองค์ประกอบจะพบและลบอย่างประสบความสําเร็จในทางตรงกันข้ามความผิดพลาด

 แบบไทย