[]
Add a new fixed place holder to the template specification used by this HtmlExtractor.
public void AddPlaceHolder(string fixedPlaceHolderName, string fixedPlaceHolderXPath, int selectionBeginIndex, int selectionLength)
Type | Name | Description |
---|---|---|
string | fixedPlaceHolderName | The name to be used to refer to the place holder. |
string | fixedPlaceHolderXPath | The XPath of the html element containing the selected text from the place holder. |
int | selectionBeginIndex | The 0-based character index where the selected text begins regarding to
the TextContent property of the html element pointed by |
int | selectionLength | The number of characters of the selected text. |
Type | Condition |
---|---|
ArgumentException | |
ArgumentOutOfRangeException |
Add a new fixed place holder to the template specification used by this HtmlExtractor.
public void AddPlaceHolder(string fixedPlaceHolderName, string fixedPlaceHolderXPath)
Type | Name | Description |
---|---|---|
string | fixedPlaceHolderName | The name to be used to refer to the place holder. |
string | fixedPlaceHolderXPath | The XPath of the html element containing the selected text from the place holder. |
Type | Condition |
---|---|
ArgumentException | |
ArgumentOutOfRangeException |
Add a new repeated place holder to the template specification used by this HtmlExtractor.
public void AddPlaceHolder(string repeatedBlockName, string repeatedPlaceHolderName, string repeatedPlaceHolderXPath, int selectionBeginIndex, int selectionLength)
Type | Name | Description |
---|---|---|
string | repeatedBlockName | The name of the repeated block in which the repeated place holder belongs. |
string | repeatedPlaceHolderName | The name to be used to refer to the place holder. |
string | repeatedPlaceHolderXPath | The XPath of the html element containing the selected text from the place holder. |
int | selectionBeginIndex | The 0-based character index where the selected text begins regarding to
the TextContent property of the html element pointed by |
int | selectionLength | The number of characters of the selected text. |
Type | Condition |
---|---|
ArgumentException | |
ArgumentOutOfRangeException |
Add a new repeated place holder to the template specification used by this HtmlExtractor/>.
public void AddPlaceHolder(string repeatedBlockName, string repeatedPlaceHolderName, string repeatedPlaceHolderXPath)
Type | Name | Description |
---|---|---|
string | repeatedBlockName | The name of the repeated block in which the repeated place holder belongs. |
string | repeatedPlaceHolderName | The name to be used to refer to the place holder. |
string | repeatedPlaceHolderXPath | The XPath of the html element containing the selected text from the place holder. |
Type | Condition |
---|---|
ArgumentException | |
ArgumentOutOfRangeException |
Add a new repeated place holder to the template specification used by this HtmlExtractor.
public void AddPlaceHolder(string repeatedBlockName, string repeatedPlaceHolderName, string repeatedPlaceHolderXPath, string repeatedPlaceHolderXPathInNextBlock, int selectionBeginIndex, int selectionLength)
Type | Name | Description |
---|---|---|
string | repeatedBlockName | The name of the repeated block in which the repeated place holder belongs. |
string | repeatedPlaceHolderName | The name to be used to refer to the place holder. |
string | repeatedPlaceHolderXPath | The XPath of the html element containing the selected text from the place holder. |
string | repeatedPlaceHolderXPathInNextBlock | The XPath of the element corresponding to |
int | selectionBeginIndex | The 0-based character index where the selected text begins regarding to
the TextContent property of the html element pointed by |
int | selectionLength | The number of characters of the selected text. |
Type | Condition |
---|---|
ArgumentException | |
ArgumentOutOfRangeException |
Add a new repeated place holder to the template specification used by this HtmlExtractor.
public void AddPlaceHolder(string repeatedBlockName, string repeatedPlaceHolderName, string repeatedPlaceHolderXPath, string repeatedPlaceHolderXPathInNextBlock)
Type | Name | Description |
---|---|---|
string | repeatedBlockName | The name of the repeated block in which the repeated place holder belongs. |
string | repeatedPlaceHolderName | The name to be used to refer to the place holder. |
string | repeatedPlaceHolderXPath | The XPath of the html element containing the selected text from the place holder. |
string | repeatedPlaceHolderXPathInNextBlock | The XPath of the element corresponding to |
Type | Condition |
---|---|
ArgumentException | |
ArgumentOutOfRangeException |