TextParser Library | ComponentOne
C1.TextParser Namespace / HtmlExtractor Class / AddPlaceHolder Method / AddPlaceHolder(String,String) Method
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.



In This Topic
    AddPlaceHolder(String,String) Method
    In This Topic
    Add a new fixed place holder to the template specification used by this HtmlExtractor.
    Syntax
    'Declaration
     
    
    Public Overloads Sub AddPlaceHolder( _
       ByVal fixedPlaceHolderName As String, _
       ByVal fixedPlaceHolderXPath As String _
    ) 
    'Usage
     
    
    Dim instance As HtmlExtractor
    Dim fixedPlaceHolderName As String
    Dim fixedPlaceHolderXPath As String
     
    instance.AddPlaceHolder(fixedPlaceHolderName, fixedPlaceHolderXPath)
    public void AddPlaceHolder( 
       string fixedPlaceHolderName,
       string fixedPlaceHolderXPath
    )
    public:
    void AddPlaceHolder( 
       String^ fixedPlaceHolderName,
       String^ fixedPlaceHolderXPath
    ) 

    Parameters

    fixedPlaceHolderName
    The name to be used to refer to the place holder.
    fixedPlaceHolderXPath
    The XPath of the html element containing the selected text from the place holder.
    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