Syntax:
extOptions.RemoveProperties(string propertiesToRemove);
extOptions.RemoveProperties(System.Int64);
The AddProperties method is used to instruct BrowserHawk on which extended properties to remove from the test that will be performed when the GetExtendedBrowser method is called.
Generally this method is used in conjunction with the AddProperties method. For example, assume you wanted all extended properties tested except for the RealPlayer plug-in. You could call AddProperties passing in the "all" keyword, and then call RemoveProperties passing in "Plugin_RealPlayer" to remove this test from the list.
The propertiesToRemove parameter must contain one or more names of properties contained in the ExtendedBrowserObj class. Multiple names must be separated by a comma. If you prefer, you can also pass in constants from the ExtendedBrowserObj class as Int64 values instead.
C# Example:
<%
ExtendedOptions options = new ExtendedOptions();
options.AddProperties("all"); // this tests all properties except for a special few
options.RemoveProperties("Plugin_RealPlayer, Plugin_RealPlayerBuild");
ExtendedBrowserObj extBrow = BrowserObj.GetExtendedBrowser(options);
%>
<html>
The test of all properties except the RealPlayer plugin has been completed.
</html>