IronWebScraper - The C# Web Scraping Library
MetaData Class |
A flexible dictionary of object values which can be used to attach your own additional data or objects to any Request. Meta can contain objects of any Type including instances of classes, List and Dictionaries. This meta-data can then be accessed while Paring the Response and even passed forwards to the next Request.
Metadata send might include pagination page numbers, referrer Urls, User Ids etc.
E.g:Examples
Request["page-number"] = 2; int pageNumber = Response.Request.Meta.Get<int>("page-number");
Inheritance Hierarchy
Namespace: IronWebScraper
Assembly: IronWebScraper (in IronWebScraper.dll) Version: 4.0.4.25470 (4.0.4.3)
Syntax
The MetaData type exposes the following members.
Constructors
Properties
Name | Description | |
---|---|---|
Comparer | (Inherited from DictionaryString, Object.) | |
Count | (Inherited from DictionaryString, Object.) | |
Item | (Inherited from DictionaryString, Object.) | |
Keys | (Inherited from DictionaryString, Object.) | |
Values | (Inherited from DictionaryString, Object.) |
Methods
Name | Description | |
---|---|---|
Add | (Inherited from DictionaryString, Object.) | |
Clear | (Inherited from DictionaryString, Object.) | |
ContainsKey | (Inherited from DictionaryString, Object.) | |
ContainsValue | (Inherited from DictionaryString, Object.) | |
Equals | (Inherited from Object.) | |
GetT | Returns the specified meta object cast as the appropriate type. Examples E.g: Get<int>("index") | |
GetEnumerator | (Inherited from DictionaryString, Object.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | (Inherited from DictionaryString, Object.) | |
GetType | (Inherited from Object.) | |
OnDeserialization | (Inherited from DictionaryString, Object.) | |
Remove | (Inherited from DictionaryString, Object.) | |
ToString | (Inherited from Object.) | |
TryGetValue | (Inherited from DictionaryString, Object.) |
See Also