Class XmpElementBase

Class XmpElementBase

A név: Aspose.Imaging.Xmp Összefoglaló: Aspose.Imaging.dll (25.4.0)

Az alap xmp elem tartalmaz attribútumokat.

public abstract class XmpElementBase : IEquatable<xmpelementbase>

Inheritance

object XmpElementBase

Derived

XmpMeta , XmpRdfRoot

Implements

IEquatable

Örökletes tagok

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

Constructors

XmpElementBase()

protected XmpElementBase()

Fields

Attribútumok

Az xmpmeta elemnek bármilyen számú attribútuma lehet.

protected readonly Dictionary<string, string=""> attributes

mező értéke

Dictionary < string , string >

Methods

AddAttribute(A string, a string)

Adja meg az attribútumot.

public virtual void AddAttribute(string attribute, string value)

Parameters

attribute string

Ez az attribútum.

value string

Az érték.

ClearAttributes()

Távolítsa el az összes tulajdonságot.

public virtual void ClearAttributes()

Equals(XmpElementBase)

Megmutatja, hogy a jelenlegi objektum egyenlő-e egy másik azonos típusú objektummal.

public bool Equals(XmpElementBase other)

Parameters

other XmpElementBase

Egy objektum összehasonlítható ezzel az objektummal.

Returns

bool

igaz, ha a jelenlegi objektum egyenlő a más paraméterrel; egyébként hamis.

Equals(objektum)

Határozza meg, hogy a meghatározott System.Object egyenlő-e ezzel a példával.

public override bool Equals(object obj)

Parameters

obj object

A System.Object összehasonlítani ezzel a példával.

Returns

bool

“igaz”, ha a kijelölt System.Object egyenlő a példával; máskülönben, “hamis”.

GetAttribute(A string)

Megkapja az attribútumot.

public virtual string GetAttribute(string attribute)

Parameters

attribute string

Ez az attribútum.

Returns

string

Visszaadja az attribútumot az adott attribútum nevéhez.

GetHashCode()

Visszaadja a hash kódot erre az esetre.

public override int GetHashCode()

Returns

int

A hash kód erre a példára, amely alkalmas a hash algoritmusokban és az adatok szerkezetében, mint például a hash táblázat.</string,>

 Magyar