Class XmpElementBase
Class XmpElementBase
名称: Aspose.Imaging.Xmp 收藏: Aspose.Imaging.dll (25.4.0)
代表基 xmp 元素包含属性。
public abstract class XmpElementBase : IEquatable<xmpelementbase>
Inheritance
Derived
Implements
继承人
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
XmpElementBase()
protected XmpElementBase()
Fields
属性
xmpmeta 元素可以有任何数量的属性。
protected readonly Dictionary<string, string=""> attributes
领域价值
Dictionary < string , string >
Methods
AddAttribute(字符串, string)
添加特征。
public virtual void AddAttribute(string attribute, string value)
Parameters
attribute
string
这个属性。
value
string
它的价值。
ClearAttributes()
删除所有属性。
public virtual void ClearAttributes()
Equals(XmpElementBase)
指示当前对象是否与同类对象的其他对象相等。
public bool Equals(XmpElementBase other)
Parameters
other
XmpElementBase
一个对象与这个对象相比。
Returns
如果当前对象与 other’ 参数相同,则是真实的;否则是假的。
Equals(对象)
确定所指定的 System.Object 是否相当于此例。
public override bool Equals(object obj)
Parameters
obj
object
系统.对象与这个例子进行比较。
Returns
“真实”如果指定的 System.Object 等于此例;否则,“虚假”。
GetAttribute(线条)
得到了属性。
public virtual string GetAttribute(string attribute)
Parameters
attribute
string
这个属性。
Returns
返回指定属性名称的属性。
GetHashCode()
返回此例的Hash代码。
public override int GetHashCode()
Returns
此例的哈希代码,适合在哈希算法和数据结构中使用,如哈希表。</string,>