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 As String, _
ByVal As String _
)
'Usage
Dim instance As HtmlExtractor
Dim fixedPlaceHolderName As String
Dim fixedPlaceHolderXPath As String
instance.AddPlaceHolder(fixedPlaceHolderName, fixedPlaceHolderXPath)
public void AddPlaceHolder(
string ,
string
)
public:
void AddPlaceHolder(
String^ ,
String^
)
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
Exception | Description |
System.ArgumentException | The exception that is thrown when one of the arguments provided to a method is not valid. |
System.ArgumentOutOfRangeException | 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