Struct WebsiteItemTypeLayoutCollection.XmlKeyValue
- Namespace
- Dynamicweb.Content.Items.Metadata
- Assembly
- Dynamicweb.dll
Helper struct to control XmlSerialization process.
[Serializable]
public struct WebsiteItemTypeLayoutCollection.XmlKeyValue : IEquatable<WebsiteItemTypeLayoutCollection.XmlKeyValue>
- Implements
- Inherited Members
Constructors
XmlKeyValue(string, string)
public XmlKeyValue(string name, string data)
Parameters
Properties
Key
public string Key { readonly get; set; }
Property Value
Value
public string Value { readonly get; set; }
Property Value
Methods
Equals(XmlKeyValue)
Indicates whether the current object is equal to another object of the same type.
public readonly bool Equals(WebsiteItemTypeLayoutCollection.XmlKeyValue other)
Parameters
otherWebsiteItemTypeLayoutCollection.XmlKeyValueAn object to compare with this object.
Returns
Equals(object?)
Indicates whether this instance and a specified object are equal.
public override readonly bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current instance.
Returns
- bool
true if
objand this instance are the same type and represent the same value; otherwise, false.
GetHashCode()
Returns the hash code for this instance.
public override readonly int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
Operators
operator ==(XmlKeyValue, XmlKeyValue)
public static bool operator ==(WebsiteItemTypeLayoutCollection.XmlKeyValue left, WebsiteItemTypeLayoutCollection.XmlKeyValue right)
Parameters
Returns
operator !=(XmlKeyValue, XmlKeyValue)
public static bool operator !=(WebsiteItemTypeLayoutCollection.XmlKeyValue left, WebsiteItemTypeLayoutCollection.XmlKeyValue right)