C1.TextParser Namespace / HtmlExtractor Class / AddPlaceHolder Method / AddPlaceHolder(String,String,String,String) Method
The name of the repeated block in which the repeated place holder belongs.
The name to be used to refer to the place holder.
The XPath of the html element containing the selected text from the place holder.
The XPath of the element corresponding to repeatedPlaceHolderXPath in the following block instance.



AddPlaceHolder(String,String,String,String) Method
Add a new repeated place holder to the template specification used by this HtmlExtractor.
Syntax
'Declaration
 
Public Overloads Sub AddPlaceHolder( _
   ByVal repeatedBlockName As String, _
   ByVal repeatedPlaceHolderName As String, _
   ByVal repeatedPlaceHolderXPath As String, _
   ByVal repeatedPlaceHolderXPathInNextBlock As String _
) 
 
'Usage
 
Dim instance As HtmlExtractor
Dim repeatedBlockName As String
Dim repeatedPlaceHolderName As String
Dim repeatedPlaceHolderXPath As String
Dim repeatedPlaceHolderXPathInNextBlock As String
 
instance.AddPlaceHolder(repeatedBlockName, repeatedPlaceHolderName, repeatedPlaceHolderXPath, repeatedPlaceHolderXPathInNextBlock)

Parameters

repeatedBlockName
The name of the repeated block in which the repeated place holder belongs.
repeatedPlaceHolderName
The name to be used to refer to the place holder.
repeatedPlaceHolderXPath
The XPath of the html element containing the selected text from the place holder.
repeatedPlaceHolderXPathInNextBlock
The XPath of the element corresponding to repeatedPlaceHolderXPath in the following block instance.
Exceptions
ExceptionDescription
The exception that is thrown when one of the arguments provided to a method is not valid.
The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method.
See Also