Class SiteMap.SiteMapUrl
Represents a single URL entry in the site map.
Inherited Members
Namespace: DataWeb.App
Assembly: DataWeb.Core.dll
Syntax
public class SiteMap.SiteMapUrl
Constructors
SiteMapUrl()
Initializes a new instance of the SiteMap.SiteMapUrl class.
Declaration
public SiteMapUrl()
SiteMapUrl(string, DateTime?, ChangeFreq?, double?)
Initializes a new instance of the SiteMap.SiteMapUrl class with the specified parameters.
Declaration
public SiteMapUrl(string loc, DateTime? lastMod = null, ChangeFreq? changeFreq = null, double? priority = null)
Parameters
Type | Name | Description |
---|---|---|
string | loc | The location (URL) of the entry. |
DateTime? | lastMod | The last modified date of the entry. |
ChangeFreq? | changeFreq | The change frequency of the entry. |
double? | priority | The priority of the entry. |
Properties
ChangeFreq
Gets or sets the change frequency of the entry.
Declaration
public ChangeFreq? ChangeFreq { get; set; }
Property Value
Type | Description |
---|---|
ChangeFreq? |
LastMod
Gets or sets the last modified date of the entry.
Declaration
public DateTime? LastMod { get; set; }
Property Value
Type | Description |
---|---|
DateTime? |
Loc
Gets or sets the location (URL) of the entry.
Declaration
public string Loc { get; set; }
Property Value
Type | Description |
---|---|
string |
Priority
Gets or sets the priority of the entry.
Declaration
public double? Priority { get; set; }
Property Value
Type | Description |
---|---|
double? |