Class NonGenericList

Class NonGenericList

名称: Aspose.Imaging 收藏: Aspose.Imaging.dll (25.4.0)

非基因物品列表

public class NonGenericList : IList, ICollection, IEnumerable

Inheritance

object NonGenericList

Derived

MetaObjectList

Implements

IList , ICollection , IEnumerable

继承人

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

Constructors

NonGenericList(伊利斯特)

启动了 Aspose.Imaging.NonGenericList 类的新例子。

public NonGenericList(IList list)

Parameters

list IList

列表 - 物品的容器。

Fields

列表

列表 - 物品的内部容器

[JsonProperty]
protected IList list

领域价值

IList

Properties

Count

获取在 System.Collections.ICollection 中包含的元素数量。

public int Count { get; }

财产价值

int

IsFixedSize

收到一个值,表明 System.Collections.IList 是否有固定尺寸。

public bool IsFixedSize { get; }

财产价值

bool

IsReadOnly

收到一个值,表明 System.Collections.IList 是否仅可阅读。

public bool IsReadOnly { get; }

财产价值

bool

IsSynchronized

收到一个值,表明是否访问 System.Collections.ICollection 已同步(带安全)。

public bool IsSynchronized { get; }

财产价值

bool

SyncRoot

获取可用于同步访问到 System.Collections.ICollection 的对象。

public object SyncRoot { get; }

财产价值

object

这个[因特]

接收或将元素放在指定的指数上。

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

财产价值

object

Methods

Add(对象)

添加一个项目到 System.Collections.IList。

public int Add(object value)

Parameters

value object

将 System.Object 添加到 System.Collections.IList。

Returns

int

将新元素插入的位置。

Clear()

从 System.Collections.IList 中删除所有项目。

public void Clear()

Contains(对象)

确定 System.Collections.IList 是否包含特定值。

public bool Contains(object value)

Parameters

value object

System.Object 在 System.Collections.IList 中找到。

Returns

bool

如果 System.Object 在 System.Collections.IList 中找到,则是虚假的。

CopyTo(阿里, int)

将 System.Collections.ICollection 元素复制到 System.Array,从特定 System.Array 指数开始。

public void CopyTo(Array array, int index)

Parameters

array Array

System.Array 是从 System.Collections.ICollection 复制的元素的目的地,系统.Array 必须有基于零的索引。

index int

以零为基础的指数在 array’ 中,复制开始。

GetEnumerator()

返回通过收藏的列表器。

public IEnumerator GetEnumerator()

Returns

IEnumerator

一个 System.Collections.IEnumerator 对象,可以用来通过收藏进行 iterate。

IndexOf(对象)

在 System.Collections.IList 中确定特定项目的指数。

public int IndexOf(object value)

Parameters

value object

System.Object 在 System.Collections.IList 中找到。

Returns

int

如果在列表中找到 value’ 的指数; 否则, -1.

Insert(对象,对象)

在指定的指数中输入一个项目到 System.Collections.IList。

public void Insert(int index, object value)

Parameters

index int

以零为基础的指数,该指数应输入 值。

value object

将 System.Object 输入到 System.Collections.IList。

Remove(对象)

从 System.Collections.IList 中删除特定对象的第一次出现。

public void Remove(object value)

Parameters

value object

将 System.Object 从 System.Collections.IList 移除。

RemoveAt(因特)

在指定的指数中删除 System.Collections.IList 项目。

public void RemoveAt(int index)

Parameters

index int

要删除的零基的项目指数。

 中文