Summary
Gets the specified attribute value of each query result and sets it in the metadata
of the corresponding result document(s). If the attribute is not found for a given
query result, no metadata is set. If metadataKey is null, the attribute name will
be used as the metadata key, otherwise the specified metadata key will be used.
Syntax
public HtmlQuery GetAttributeValue(string attributeName, string metadataKey = null)
Parameters
| Name |
Type |
Description |
| attributeName |
string |
Name of the attribute to get. |
| metadataKey |
string |
The metadata key in which to place the attribute value. |
Return Value
| Type |
Description |
| HtmlQuery |
The current module instance. |