Class XpsArray

Class XpsArray

名称: Aspose.Page.XPS.XpsModel 集合: Aspose.Page.dll (25.4.0)

类包容常见的XPS模型包装对象功能。

public abstract class XpsArray<t> : XpsObject where T : XpsObject

类型参数

T

序列元素的类型。

Inheritance

object XpsObject XpsArray

继承人

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

Properties

Count

返回元素的数量。

public int Count { get; }

财产价值

int

这个[因特]

通过 index i’. 提供对序列元素的访问。

public T this[int i] { get; }

财产价值

T

Methods

Add(T)

将新物体添加到序列中。

public T Add(T obj)

Parameters

obj T

要添加的对象。

Returns

T

添加物体。

Insert(T、T、T)

在指定的位置将新对象插入序列中。

public T Insert(int index, T obj)

Parameters

index int

将一个对象插入位置。

obj T

要插入的对象。

Returns

T

插入物体。

Remove(T)

将对象从序列中移除。

public T Remove(T obj)

Parameters

obj T

取消的对象。

Returns

T

移除物体。

RemoveAt(因特)

将对象从指定的位置从序列中移除。

public T RemoveAt(int index)

Parameters

index int

取消对象的位置。

Returns

T

移除物体。

 中文