Class XmpPackage

Class XmpPackage

Le nom : Aspose.Imaging.Xmp Assemblée: Aspose.Imaging.dll (25.4.0)

Il représente l’abstraction de base pour le paquet XMP.

[JsonObject(MemberSerialization.OptIn)]
public class XmpPackage : IXmlValue, IEnumerable<keyvaluepair<string, object="">&gt;, IEnumerable

Inheritance

object XmpPackage

Derived

DicomPackage , DublinCorePackage , PdfPackage , PhotoshopPackage , XmpBasicPackage , XmpDynamicMediaPackage , XmpMediaManagementPackage , XmpRightsManagementPackage

Implements

IXmlValue , IEnumerable<keyvaluepair<string, object="">> , IEnumerable

I membri ereditari

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

Fields

NominationUri

Nome spazio urina per lo schema XMP specifico.

[JsonProperty]
protected readonly string namespaceUri

Valore di campo

string

Préfix

Xmlns prefix. ad esempio, xmlns:dc.

[JsonProperty]
protected readonly string prefix

Valore di campo

string

Propriétés

Diccionario di proprietà chiave/valore pacchetto XMP.

[JsonProperty]
protected Dictionary<string, object=""> properties

Valore di campo

Dictionary di < string , object >

Properties

Count

Recevoir le compte clé XMP.

public int Count { get; }

Valore di proprietà

int

Keys

Ricevi le chiavi nel pacchetto XMP.

public virtual Dictionary<string, object="">.KeyCollection Keys { get; }

Valore di proprietà

Dictionary di < string , object et Gt ; KeyCollection

NamespaceUri

Ricevi il nome spazio URI.

public string NamespaceUri { get; }

Valore di proprietà

string

Prefix

Riceviamo il prefix.

public string Prefix { get; }

Valore di proprietà

string

XmlNamespace

Ricevi il nome XML.

public string XmlNamespace { get; }

Valore di proprietà

string

Ceci[Le string]

Riceve o impone System.Object con la chiave specificata.

public virtual object this[string key] { get; set; }

Valore di proprietà

object

Methods

AddValue(String et String)

Ajouter la valeur à la clé spécifiée.

public virtual void AddValue(string key, string value)

Parameters

key string

La rappresentazione della riga della chiave che viene identificata con valore aggiunto.

value string

Il valore da aggiungere.

AddValue(Télécharger, Objet)

Ajouter la valeur à la clé spécifiée.

public virtual void AddValue(string key, object value)

Parameters

key string

La rappresentazione della riga della chiave che viene identificata con valore aggiunto.

value object

Il valore da aggiungere.

Exceptions

ArgumentNullException

La chiave è zero.

Clear()

Chiariamo questo caso.

public virtual void Clear()

ContainsKey(Le string)

Déterminer si cette collection a spécifié la clé.

public virtual bool ContainsKey(string key)

Parameters

key string

La chiave da controllare.

Returns

bool

vero si le System.Collections.Generic.IDictionary`2 contient la clé spécifiée; autrement, The translation of “false” to Italian is “falso”..

GetEnumerator()

Ritorna un enumeratore che iterato attraverso la raccolta.

public IEnumerator<keyvaluepair<string, object="">&gt; GetEnumerator()

Returns

IEnumerator di < KeyValuePair di < string , object et de >>

Un System.Collections.Generic.IEnumerator`1 qui peut être utilisé pour itérer à travers la collection.

GetKeyValueAsXml(Le string)

Obtenez le code RDF pour spécifique Aspose.Imaging.xmp.XmpArrayType.

protected virtual string GetKeyValueAsXml(string key)

Parameters

key string

Il tipo di array XMP.

Returns

string

Retourne le code RDF pour spécifique Aspose.Imaging.xmp.XmpArrayType.

GetXmlValue()

Convertire il valore XMP nella rappresentazione XML.

public virtual string GetXmlValue()

Returns

string

Ritorna il valore XMP convertito alla rappresentazione XML.

Remove(Le string)

Rimuovere il valore con la chiave specificata.

public virtual bool Remove(string key)

Parameters

key string

La rappresentazione della riga della chiave che viene identificata con il valore rimosso.

Returns

bool

Ritorna valido se il valore con la chiave specificata è stato rimosso.

SetValue(Étiquette, IXmlValue)

impostare il valore.

public virtual void SetValue(string key, IXmlValue value)

Parameters

key string

La rappresentazione della riga della chiave che viene identificata con valore aggiunto.

value IXmlValue

Il valore da aggiungere.

SetValue(Télécharger, IXmpType)

impostare il valore.

public virtual void SetValue(string key, IXmpType value)

Parameters

key string

La rappresentazione della riga della chiave che viene identificata con valore aggiunto.

value IXmpType

Il valore da aggiungere.

SetXmpBoolean(String et String)

Inserisci il valore booleano XMP.

protected void SetXmpBoolean(string key, string boolValue)

Parameters

key string

La rappresentazione della riga della chiave che viene identificata con il valore impostato.

boolValue string

Il valore booleano.

SetXmpDate(String et String)

Inserisci la data XMP.

protected void SetXmpDate(string key, string date)

Parameters

key string

La rappresentazione della riga della chiave che viene identificata con il valore impostato.

date string

La data da impostare.

SetXmpGuid(String et String)

Inserisci il identificatore XMP unico.

protected void SetXmpGuid(string key, string guid)

Parameters

key string

La rappresentazione della riga della chiave che viene identificata con il valore GUID impostato.

guid string

Un identificatore unico.

SetXmpInteger(String et String)

Inserisci l’intero XMP.

protected void SetXmpInteger(string key, string intValue)

Parameters

key string

La rappresentazione della riga della chiave che viene identificata con il valore impostato.

intValue string

Il valore totale.

SetXmpTypeValue(Télécharger XmpTypeBase)

Inserisci il valore di tipo XMP.

public virtual void SetXmpTypeValue(string key, XmpTypeBase value)

Parameters

key string

La rappresentazione della riga della chiave che viene identificata con il valore impostato.

value XmpTypeBase

Il valore da impostare.

TryGetValue(Téléchargement, out object)

Obtenez la valeur par la clé .

public bool TryGetValue(string key, out object value)

Parameters

key string

La clé d’élément XMP.

value object

La valeur de XMP.

Returns

bool

true, if the System.Collections.Generic.IDictionary`2 contains the key’; otherwise, false.</keyvaluepair<string,></string,></string,></keyvaluepair<string,></keyvaluepair<string,>

 Français