Table of Contents

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

name string
data string

Properties

Key

public string Key { readonly get; set; }

Property Value

string

Value

public string Value { readonly get; set; }

Property Value

string

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

other WebsiteItemTypeLayoutCollection.XmlKeyValue

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Indicates whether this instance and a specified object are equal.

public override readonly bool Equals(object? obj)

Parameters

obj object

The object to compare with the current instance.

Returns

bool

true if obj and 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

left WebsiteItemTypeLayoutCollection.XmlKeyValue
right WebsiteItemTypeLayoutCollection.XmlKeyValue

Returns

bool

operator !=(XmlKeyValue, XmlKeyValue)

public static bool operator !=(WebsiteItemTypeLayoutCollection.XmlKeyValue left, WebsiteItemTypeLayoutCollection.XmlKeyValue right)

Parameters

left WebsiteItemTypeLayoutCollection.XmlKeyValue
right WebsiteItemTypeLayoutCollection.XmlKeyValue

Returns

bool
To top