类 XmpCollection
XmpCollection class
XMP 元素集合。
public class XmpCollection : IList<IXmpType>, IXmpType
构造函数
| 名称 | 描述 |
|---|---|
| XmpCollection() | 默认构造函数。 |
属性
| 名称 | 描述 |
|---|---|
| Count { get; } | 获取 IList 中包含的元素数量。 |
| IsReadOnly { get; } | 获取一个值,指示集合是否为只读。 |
| Item { get; set; } | 获取或设置指定索引处的元素。 |
方法
| 名称 | 描述 |
|---|---|
| Add(IXmpType) | 向集合添加一个项。 |
| Add(object) | 添加 XMP 数据项。 |
| AddItem(string) | 添加新项。 |
| Clear() | 从集合中移除所有项。 |
| Contains(IXmpType) | 确定集合是否包含特定值。 |
| CopyTo(IXmpType[], int) | 将集合的元素复制到数组中,从特定的数组索引开始。 |
| GetEnumerator() | 返回一个遍历集合的枚举器。 |
| GetXmlValue() | 将 XMP 值转换为 XML 表示形式。 |
| GetXmpRepresentation() | 获取此对象的 XMP 字符串值。 |
| IndexOf(IXmpType) | 确定集合中特定项的索引。 |
| Insert(int, IXmpType) | 在指定索引处向集合插入项。 |
| Remove(IXmpType) | 从集合中移除特定对象的第一次出现。 |
| RemoveAt(int) | 移除指定索引处的项。 |
| override ToString() | 返回表示此实例的 XML 字符串。 |
另请参见
- interface IXmpType
- namespace Aspose.Imaging.Xmp
- assembly Aspose.Imaging