Mono Class Library: System.Xml.XmlConvert Overview | MembersSystem.Xml.XmlConvert.ToByte Method |
Converts a string to a byte equivalent. [Edit]
|
The byte equivalent of s. [Edit]
Type Reason ArgumentNullException s is a null reference. [Edit] FormatException s is not in the correct format. [Edit] OverflowException s represents a number less than byte.MinValue or greater than byte.MaxValue. [Edit]
This method calls byte.Parse(string)(s, System.Globalization.NumberStyles.AllowLeadingWhite|System.Globalization.NumberStyles.AllowTrailingWhite, System.Globalization.NumberFormatInfo.InvariantInfo). [Edit]
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0