Table of Contents

Class WebPageRelatedItem

Namespace
CMS.Websites
Assembly
CMS.Websites.dll

Represents a web page related item.

public class WebPageRelatedItem
Inheritance
object
WebPageRelatedItem
Extension Methods

Constructors

WebPageRelatedItem()

public WebPageRelatedItem()

Properties

WebPageGuid

Guid of a web page.

public Guid WebPageGuid { get; set; }

Property Value

Guid

Methods

Equals(WebPageRelatedItem)

Determines whether the specified WebPageRelatedItem is equal to the current object. Returns true if specified other object has the same WebPageGuid value as the current object, false otherwise.

public bool Equals(WebPageRelatedItem other)

Parameters

other WebPageRelatedItem

The WebPageRelatedItem object to compare with current object.

Returns

bool

true if the specified object is equal to the current object, false otherwise.

Equals(object)

Determines whether the specified object is equal to the current object. Returns true if the specified object is a WebPageRelatedItem and has the same WebPageGuid value as the current object, false otherwise.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object, false otherwise.

GetHashCode()

Returns the hash code for the current object. The hash code is the same as the hash code of the WebPageGuid value.

public override int GetHashCode()

Returns

int

The hash code for the current object.