Class LangAlt
Namespace: Aspose.Imaging.Xmp
Assembly: Aspose.Imaging.dll (25.2.0)
Represents XMP Language Alternative.
public class LangAlt : IXmlValue
Inheritance
Implements
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
LangAlt(string)
Initializes a new instance of the Aspose.Imaging.Xmp.LangAlt class.
public LangAlt(string defaultValue)
Parameters
defaultValue
string
The default value.
LangAlt()
Initializes a new instance of the Aspose.Imaging.Xmp.LangAlt class.
public LangAlt()
Fields
languages
Dictionary of languages.
protected Dictionary<string, string=""> languages
Field Value
Dictionary<string, string>
Methods
AddLanguage(string, string)
Adds the language.
public virtual void AddLanguage(string language, string value)
Parameters
language
string
The language.
value
string
The language value.
GetXmlValue()
Converts XMP value to the XML representation.
public string GetXmlValue()
Returns
Returns the XMP value converted to the XML representation.
ToString()
Returns a System.String that represents this instance.
public override string ToString()
Returns
A System.String that represents this instance. </string,>