XmlConvert Members

Encodes and decodes XML names and provides methods for converting between common language runtime types and XML Schema definition language (XSD) types. When converting data types the values returned are locale independent.

The XmlConvert type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework XmlConvert Initializes a new instance of the XmlConvert class.
Top

  NameDescription
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework DecodeName Decodes a name. This method does the reverse of the EncodeName and EncodeLocalName methods.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework EncodeLocalName Converts the name to a valid XML local name.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework EncodeName Converts the name to a valid XML name.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework EncodeNmToken Verifies the name is valid according to the XML specification.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework FromBinHexString Obsolete.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetType Gets the type of the current instance. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework ToBinHexString Obsolete.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework ToBoolean Converts the String to a Boolean equivalent.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework ToByte Converts the String to a Byte equivalent.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework ToChar Converts the String to a Char equivalent.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework ToDateTime Overloaded. Converts the String to a DateTime equivalent.
Public method Static member ToDateTimeOffset Overloaded. Converts the supplied String to a DateTimeOffset equivalent.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework ToDecimal Converts the String to a Decimal equivalent.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework ToDouble Converts the String to a Double equivalent.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework ToGuid Converts the String to a Guid equivalent.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework ToInt16 Converts the String to a Int16 equivalent.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework ToInt32 Converts the String to a Int32 equivalent.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework ToInt64 Converts the String to a Int64 equivalent.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework ToSByte Converts the String to a SByte equivalent.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework ToSingle Converts the String to a Single equivalent.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework ToString Overloaded. Converts strongly typed data to an equivalent String representation.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework ToTimeSpan Converts the String to a TimeSpan equivalent.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework ToUInt16 Converts the String to a UInt16 equivalent.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework ToUInt32 Converts the String to a UInt32 equivalent.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework ToUInt64 Converts the String to a UInt64 equivalent.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework VerifyName Verifies that the name is a valid name according to the W3C Extended Markup Language recommendation.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework VerifyNCName Verifies that the name is a valid NCName according to the W3C Extended Markup Language recommendation.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework VerifyNMTOKEN Verifies that the string is a valid NMTOKEN according to the W3C XML Schema Part2: Datatypes recommendation
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework VerifyTOKEN Verifies that the string is a valid token according to the W3C XML Schema Part2: Datatypes recommendation.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft