Class XmpElementBase

Class XmpElementBase

Nazwa przestrzeń: Aspose.Imaging.Xmp Zgromadzenie: Aspose.Imaging.dll (25.4.0)

Element xmp zawiera atrybuty.

public abstract class XmpElementBase : IEquatable<xmpelementbase>

Inheritance

object XmpElementBase

Derived

XmpMeta , XmpRdfRoot

Implements

IEquatable

Dziedziczeni członkowie

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

Constructors

XmpElementBase()

protected XmpElementBase()

Fields

atrybuty

Element xmpmeta może mieć dowolną liczbę atrybutów.

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

Wartość pola

Dictionary • < string , string >

Methods

AddAttribute(strumień, strumień)

Dodaj swój atrybut.

public virtual void AddAttribute(string attribute, string value)

Parameters

attribute string

z atrybutem .

value string

I wartość .

ClearAttributes()

Usuwa wszystkie atrybuty.

public virtual void ClearAttributes()

Equals(XmpElementBase)

Oznacza, czy obecny obiekt jest taki sam jak inny obiekt tego samego typu.

public bool Equals(XmpElementBase other)

Parameters

other XmpElementBase

Jest to obiekt porównywalny z tym obiektem.

Returns

bool

prawidłowy, jeśli aktualny obiekt jest równy parametrowi other; w przeciwnym razie fałszywy.

Equals(Obiekt)

Określa, czy określony System.Object jest równy tej instancji.

public override bool Equals(object obj)

Parameters

obj object

System.Object do porównania z tą instancją.

Returns

bool

“prawdziwy” jeśli określony System.Object jest równy tej instancji; w przeciwnym razie “fałszywy”.

GetAttribute(strumień)

Otrzymuje to atrybut.

public virtual string GetAttribute(string attribute)

Parameters

attribute string

z atrybutem .

Returns

string

Przywróci atrybut określonej nazwy atrybutowej.

GetHashCode()

Wróć do tego kodu hash.

public override int GetHashCode()

Returns

int

Kod hash dla tego przykładu, odpowiedni do użycia w algorytmach hashingu i strukturach danych, takich jak tabela hash.</string,>

 Polski