Class ExtendedAttribute

Class ExtendedAttribute

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

ตัวแทนที่มีคุณสมบัติที่ขยาย

[ClassInterface(ClassInterfaceType.AutoDual)]
public class ExtendedAttribute

Inheritance

object ExtendedAttribute

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

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

Remarks

ปัจจุบันได้รับการสนับสนุนทุกประเภทของการอ่านคุณสมบัติขยายจาก MSP Xml 2003/2007 และ mpp 2003.สําหรับ MSP mpp 2007 คุณสมบัติการอ่านที่ขยายทั้งหมดได้รับการสนับสนุนยกเว้นระยะเวลาและ旗帜

Properties

AttributeDefinition

ได้รับการกําหนดคุณสมบัติ

public ExtendedAttributeDefinition AttributeDefinition { get; }

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

ExtendedAttributeDefinition

DateValue

รับหรือตั้งค่าสําหรับคุณสมบัติที่มีประเภทวันที่ (วันที่เริ่มต้นสิ้นสุด)

public DateTime DateValue { get; set; }

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

DateTime

Exceptions

InvalidOperationException

ผ่านถ้าคุณสมบัติ Aspose.Tasks.ExtendedAttribute.AttributeDefinition ไม่เริ่มต้นหรือคุณสมบัติปัจจุบันไม่เป็นคุณสมบัติวันที่

DurationValue

รับหรือตั้งค่าค่าสําหรับคุณสมบัติที่มีประเภท ‘ระยะเวลา’

public Duration DurationValue { get; set; }

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

Duration

Exceptions

InvalidOperationException

ผ่านถ้าคุณสมบัติ Aspose.Tasks.ExtendedAttribute.AttributeDefinition ไม่เริ่มต้นหรือกําหนดเองประเภทสนามของ Aspose.Tasks.ExtendedAttribute.AttributeDefinition คุณสมบัติไม่ได้เป็นตัวอย่าง Aspose.Tasks.Duration

FieldId

รับ ID ของสนาม

public string FieldId { get; }

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

string

FlagValue

รับหรือตั้งค่าหมายความว่าสัญญาณจะตั้งค่าสําหรับคุณสมบัติที่มีประเภท ‘สัญญาณ’

public bool FlagValue { get; set; }

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

bool

Exceptions

InvalidOperationException

ผ่านถ้าคุณสมบัติ Aspose.Tasks.ExtendedAttribute.AttributeDefinition ไม่ได้เริ่มต้นหรือคุณสมบัติปัจจุบันไม่เป็นคุณสมบัติป้าย

IsErrorValue

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

public bool IsErrorValue { get; }

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

bool

NumericValue

รับหรือตั้งค่าค่าสําหรับคุณสมบัติที่มีประเภทดิจิตอล (ต้นทุนหมายเลข)

public decimal NumericValue { get; set; }

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

decimal

Exceptions

InvalidOperationException

ผ่านถ้าคุณสมบัติ Aspose.Tasks.ExtendedAttribute.AttributeDefinition ไม่เป็นต้นฉบับหรือประเภทสนามที่กําหนดเองของ Aspose.Tasks.ExtendedAttribute.AttributeDefinition คุณสมบัติไม่ใช่ ‘ต้นทุน’ หรือ ‘หมายเลข’.

TextValue

รับหรือตั้งค่าค่าสําหรับคุณสมบัติที่มีประเภท ‘ข้อความ’

public string TextValue { get; set; }

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

string

Exceptions

InvalidOperationException

ผ่านถ้าคุณสมบัติ Aspose.Tasks.ExtendedAttribute.AttributeDefinition ไม่เริ่มต้นหรือคุณสมบัติปัจจุบันไม่เป็นคุณสมบัติข้อความ

ValueGuid

ได้รับคําแนะนําของมูลค่าการมองหา

public string ValueGuid { get; }

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

string

Remarks

ไม่ควรตั้งค่าโดยตรงแทนที่จะใช้ ExtendedAttributeDefinition.CreateExtendedAttribute(Value lookupValue) เพื่อสร้างคุณสมบัติขยายที่มีค่าดู

ValueReadOnly

ได้รับค่าที่แสดงให้เห็นว่าค่าของตัวอย่าง Aspose.Tasks.ExtendedAttribute นี้จะอ่านเท่านั้นกลับถูกต้องถ้าสูตรหรือ rollup จะถูกกําหนดไว้ใน Aspose.Tasks.ExtendedAttributeDefinition สําหรับวัตถุนี้

public bool ValueReadOnly { get; }

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

bool

Methods

ToString()

กลับการแสดงสัญญาณสั้นของคุณสมบัติที่ขยาย

public override string ToString()

Returns

string

ลวดการแสดงผลของคุณสมบัติที่ขยาย

 แบบไทย