[]
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)
Public Sub AddPlaceHolder(fixedPlaceHolderName As String, fixedPlaceHolderXPath As String, selectionBeginIndex As Integer, selectionLength As Integer)
| 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)
Public Sub AddPlaceHolder(fixedPlaceHolderName As String, fixedPlaceHolderXPath As String)
| 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)
Public Sub AddPlaceHolder(repeatedBlockName As String, repeatedPlaceHolderName As String, repeatedPlaceHolderXPath As String, selectionBeginIndex As Integer, selectionLength As Integer)
| 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)
Public Sub AddPlaceHolder(repeatedBlockName As String, repeatedPlaceHolderName As String, repeatedPlaceHolderXPath As String)
| 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)
Public Sub AddPlaceHolder(repeatedBlockName As String, repeatedPlaceHolderName As String, repeatedPlaceHolderXPath As String, repeatedPlaceHolderXPathInNextBlock As String, selectionBeginIndex As Integer, selectionLength As Integer)
| 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)
Public Sub AddPlaceHolder(repeatedBlockName As String, repeatedPlaceHolderName As String, repeatedPlaceHolderXPath As String, repeatedPlaceHolderXPathInNextBlock As String)
| 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 |