| Visual Basic (Declaration) | |
|---|---|
Public Overloads Sub Validate( _ ByVal reader As TextReader _ ) | |
| C# | |
|---|---|
public void Validate( TextReader reader ) | |
Parameters
- reader
Library/Library.Test/TestXhtmlValid.cs
| C# | Copy Code |
|---|---|
string doc = @"<html> <head><title>required</title></head> <body></body> </html> "; XhtmlValidation v = new XhtmlValidation(XhtmlDTDSpecification.None); v.Validate(new StringReader(doc)); | |
| VB.NET | Copy Code |
|---|---|
Dim doc As String = "<html>" & vbCr & vbLf & " <head><title>required</title></head>" & vbCr & vbLf & " <body></body>" & vbCr & vbLf & " </html>" & vbCr & vbLf & " " Dim v As New XhtmlValidation(XhtmlDTDSpecification.None) v.Validate(New StringReader(doc)) | |
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7
Reference
XhtmlValidation ClassXhtmlValidation Members
Overload List