Class XmpHeaderPi
Represents XMP header processing instruction.
public sealed class XmpHeaderPi : IXmlValue, IEquatable<XmpHeaderPi>
- Inheritance
-
XmpHeaderPi
- Implements
- Inherited Members
Examples
Constructors
XmpHeaderPi()
Initializes a new instance of the XmpHeaderPi class.
public XmpHeaderPi()
XmpHeaderPi(string)
Initializes a new instance of the XmpHeaderPi class.
public XmpHeaderPi(string guid)
Parameters
guid
stringThe unique identifier.
Properties
Guid
Represents Header Guid.
public string Guid { get; set; }
Property Value
Remarks
The text of the header PI contains a GUID, making it unlikely to appear by accident in the data stream.
Methods
Equals(XmpHeaderPi)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(XmpHeaderPi other)
Parameters
other
XmpHeaderPiAn object to compare with this object.
Returns
- bool
true if the current object is equal to the
other
parameter; otherwise, false.
Equals(object)
Determines whether the specified object, is equal to this instance.
public override bool Equals(object obj)
Parameters
Returns
GetHashCode()
Returns a hash code for this instance.
public override int GetHashCode()
Returns
- int
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
GetXmlValue()
Converts XMP value to the XML representation.
public string GetXmlValue()
Returns
- string
Returns the XMP value converted to the XML representation.