Class XmpCollection

Class XmpCollection

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

ชุดองค์ประกอบ XMP

[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
public class XmpCollection : IList<ixmptype>, ICollection<ixmptype>, IEnumerable<ixmptype>, IEnumerable, IXmpType

Inheritance

object XmpCollection

Derived

XmpArray

Implements

IList , ICollection , IEnumerable , IEnumerable , IXmpType

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

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

Constructors

XmpCollection()

[JsonConstructor]
public XmpCollection()

Properties

Count

ได้รับจํานวนองค์ประกอบที่อยู่ใน System.Collections.IList

public int Count { get; }

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

int

IsReadOnly

ได้รับค่าที่แสดงให้เห็นว่าการเก็บรวบรวมเป็นอ่านเท่านั้น

public bool IsReadOnly { get; }

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

bool

นี่[int]

รับหรือตั้งค่าองค์ประกอบในตัวเลขที่ระบุ

public IXmpType this[int index] { get; set; }

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

IXmpType

Methods

Add(วัตถุ)

เพิ่มรายการข้อมูล XMP

public void Add(object item)

Parameters

item object

รายการ XMP

Exceptions

ArgumentNullException

ArgumentNullException

Add(ชิ้นส่วน)

เพิ่มรายการในคอลเลกชัน

public void Add(IXmpType item)

Parameters

item IXmpType

วัตถุที่จะเพิ่มไปยังคอลเลกชัน

AddItem(รั้ว)

เพิ่มรายการใหม่

public void AddItem(string item)

Parameters

item string

รายการที่จะเพิ่มลงในรายการรายการ

Exceptions

ArgumentNullException

ArgumentNullException

Clear()

ลบรายการทั้งหมดจากคอลเลกชัน

public void Clear()

Contains(ชิ้นส่วน)

การกําหนดว่าการเก็บรวบรวมมีมูลค่าเฉพาะหรือไม่

public bool Contains(IXmpType item)

Parameters

item IXmpType

วัตถุที่จะตั้งอยู่ในคอลเลกชัน

Returns

bool

จริงถ้ารายการจะพบในคอลเลกชัน; อื่น ๆ, จริง.

CopyTo(ชิ้นส่วน[ ], ฯลฯ)

คัดลอกองค์ประกอบของคอลเลกชันลงในแถวเริ่มต้นจากแถวที่เฉพาะเจาะจง

public void CopyTo(IXmpType[] array, int arrayIndex)

Parameters

array IXmpType [ ]

ช่วงเดียวซึ่งเป็นจุดหมายปลายขององค์ประกอบที่คัดลอกจากคอลเลกชัน ช่วงจะต้องมีการดัชนีที่ขึ้นอยู่กับศูนย์

arrayIndex int

ดัชนีที่สร้างขึ้นจากศูนย์ในแถวที่การคัดลอกเริ่มต้น

GetEnumerator()

กลับตัวเลขที่ยึดผ่านการเก็บรวบรวม

public IEnumerator<ixmptype> GetEnumerator()

Returns

IEnumerator < IXmpType >

IEnumerator<IXmpType> ซึ่งสามารถใช้ในการ iterate ผ่านการเก็บรวบรวม

GetXmlValue()

แปลงค่า XMP ไปยังการแสดงผล XML

public string GetXmlValue()

Returns

string

กลับค่า XMP ที่แปลงเป็นตัวแทน XML

GetXmpRepresentation()

รับค่า string XMP ของเรื่องนี้

public string GetXmpRepresentation()

Returns

string

กลับค่าที่ประกอบด้วย string ในรูปแบบ XMP

IndexOf(ชิ้นส่วน)

กําหนด index ของรายการเฉพาะในคอลเลกชัน

public int IndexOf(IXmpType item)

Parameters

item IXmpType

วัตถุที่จะตั้งอยู่ในคอลเลกชัน

Returns

int

หมายเลขรายการถ้าพบในคอลเลกชัน อย่างไรก็ตาม -1.

Insert(int, IXmpType)

ใส่รายการในคอลเลกชันใน index ที่ระบุไว้

public void Insert(int index, IXmpType item)

Parameters

index int

ดัชนีตามศูนย์ที่รายการที่ควรใส่

item IXmpType

วัตถุที่ใส่ลงในรวบรวม

Remove(ชิ้นส่วน)

ลบปรากฏตัวครั้งแรกของวัตถุเฉพาะจากการเก็บรวบรวม

public bool Remove(IXmpType item)

Parameters

item IXmpType

วัตถุที่จะถอดออกจากการเก็บรวบรวม

Returns

bool

จริงถ้ารายการได้รับการกําจัดอย่างประสบความสําเร็จจากการเก็บรวบรวม; ในทางอื่น ๆ, การทําผิดพลาด วิธีการนี้ยังจะคืนความผิดพลาดถ้ารายการไม่ได้พบในการเก็บรวบรวมเดิม

RemoveAt(int)

ลบรายการใน index ที่ระบุไว้

public void RemoveAt(int index)

Parameters

index int

ดัชนีที่พื้นฐานゼロของรายการที่จะลบ

ToString()

กลับ XML System.String ซึ่งแสดงตัวอย่างนี้

public override string ToString()

Returns

string

XML System.String ซึ่งแสดงตัวอย่างนี้

ToString(วัตถุ)

กลับ System.String ที่แสดงตัวอย่างนี้

protected static string ToString(object obj)

Parameters

obj object

วัตถุ

Returns

string

ระบบ String ซึ่งเป็นตัวแทนของ instance นี้

 แบบไทย