WebBrowser.SaveToString Method
Silverlight
Saves the source for the HTML content currently displayed in the WebBrowser as a string.
Namespace: System.Windows.Controls
Assembly: System.Windows (in System.Windows.dll)
Return Value
Type: System.StringThe string representation of the source for the currently displayed HTML content.
| Exception | Condition |
|---|---|
| SecurityException |
The HTML content to be saved is from a cross-domain location. |
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.