Class WikiSearchResult
Information on a returned search result
Inherited Members
Namespace: WikiDotNet
Assembly: Wiki.Net.dll
Syntax
public sealed class WikiSearchResult
Fields
| Edit this page View SourceLastEdited
The last time this page was edited
Declaration
[JsonProperty("timestamp")]
public readonly DateTime LastEdited
Field Value
Type | Description |
---|---|
DateTime |
Ns
Unknown what this number refers to, likely refers to 'namespace'
Declaration
[JsonProperty("ns")]
public readonly int Ns
Field Value
Type | Description |
---|---|
int |
PageId
The numerical ID that corresponds internally (in Wikipedia's servers) to this page
Declaration
[JsonProperty("pageid")]
public readonly int PageId
Field Value
Type | Description |
---|---|
int |
Preview
A preview of the page
Declaration
[JsonProperty("snippet")]
public readonly string Preview
Field Value
Type | Description |
---|---|
string |
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
Type | Description |
---|---|
int |
Title
The title of this page
Declaration
[JsonProperty("title")]
public readonly string Title
Field Value
Type | Description |
---|---|
string |
WordCount
How many words are in the article
Declaration
[JsonProperty("wordcount")]
public readonly int WordCount
Field Value
Type | Description |
---|---|
int |
Properties
| Edit this page View SourceConstantUrl
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
Type | Description |
---|---|
Uri |
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
Type | Description |
---|---|
Uri |