Class WikiSearchResult

Information on a returned search result

Inheritance
WikiSearchResult
Namespace: WikiDotNet
Assembly: Wiki.Net.dll
Syntax
public sealed class WikiSearchResult

Fields

| Edit this page View Source

LastEdited

The last time this page was edited

Declaration
[JsonProperty("timestamp")]
public readonly DateTime LastEdited
Field Value
TypeDescription
DateTime
| Edit this page View Source

Ns

Unknown what this number refers to, likely refers to 'namespace'

Declaration
[JsonProperty("ns")]
public readonly int Ns
Field Value
TypeDescription
int
| Edit this page View Source

PageId

The numerical ID that corresponds internally (in Wikipedia's servers) to this page

Declaration
[JsonProperty("pageid")]
public readonly int PageId
Field Value
TypeDescription
int
| Edit this page View Source

Preview

A preview of the page

Declaration
[JsonProperty("snippet")]
public readonly string Preview
Field Value
TypeDescription
string
| Edit this page View Source

Size

(Possibly) How large the entire page is (assumed in bytes). Unknown what this actually is/does.

Declaration
[JsonProperty("size")]
public readonly int Size
Field Value
TypeDescription
int
| Edit this page View Source

Title

The title of this page

Declaration
[JsonProperty("title")]
public readonly string Title
Field Value
TypeDescription
string
| Edit this page View Source

WordCount

How many words are in the article

Declaration
[JsonProperty("wordcount")]
public readonly int WordCount
Field Value
TypeDescription
int

Properties

| Edit this page View Source

ConstantUrl

A URL that can be used to access the article online. Created using the Page ID, and will point to the same article even if the title changes

Declaration
public Uri ConstantUrl { get; }
Property Value
TypeDescription
Uri
| Edit this page View Source

Url

A URL that can be used to access the article. If the page gets renamed or moved, this will likely break, and point to a different or non-existent page

Declaration
public Uri Url { get; }
Property Value
TypeDescription
Uri