Class UrlCategory

UrlCategory class

Represents category for a URL

public class UrlCategory : IEquatable<UrlCategory>

Constructors

NameDescription
UrlCategory(string)Initializes a new instance of the UrlCategory class with ‘Custom’ category.

Properties

NameDescription
static Blog { get; }Blog URL
static Custom { get; }Custom page URL
static Ftp { get; }Ftp URL
static Home { get; }Contact’s home-related site.
static HomePage { get; }Home page URL
static Profile { get; }Profile URL
static Work { get; }Contact’s work-related site.
Description { get; }Gets description for the ‘Custom’ category of a URL
Value { get; }Gets category of a URL

Methods

NameDescription
override Equals(object)Determines whether the specified Object is equal to the current Object.
virtual Equals(UrlCategory)Determines whether the specified object is equal to the current object.
override GetHashCode()GetHashCode returns a hash function for this object.
override ToString()Returns a string that represents the current object.
operator ==Determines whether the specified objects are equal.
operator !=Determines whether the specified objects are not equal.

Fields

NameDescription
const BlogValueString value for ‘Blog’ category
const CustomValueString value for ‘Custom’ category
const FtpValueString value for ‘Ftp’ category
const HomePageValueString value for ‘HomePage’ category
const HomeValueString value for ‘Home’ category
const ProfileValueString value for ‘Profile’ category
const WorkValueString value for ‘Work’ category

See Also