Export (0) Print
Expand All

XmlConvert Methods

The XmlConvert type exposes the following members.

  Name Description
Public method Static member DecodeName Decodes a name. This method does the reverse of the EncodeName and EncodeLocalName methods.
Public method Static member EncodeLocalName Converts the name to a valid XML local name.
Public method Static member EncodeName Converts the name to a valid XML name.
Public method Static member EncodeNmToken Verifies the name is valid according to the XML specification.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method 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 FromBinHexString Obsolete. Converts a BinHex-encoded string to a byte array.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Static member IsNCNameChar Checks whether the passed-in character is a valid non-colon character type.
Public method Static member IsPublicIdChar Returns the passed-in character instance if the character in the argument is a valid public id character, otherwise null.
Public method Static member IsStartNCNameChar Checks if the passed-in character is a valid Start Name Character type.
Public method Static member IsWhitespaceChar Checks if the passed-in character is a valid XML whitespace character.
Public method Static member IsXmlChar Checks if the passed-in character is a valid XML character.
Public method Static member IsXmlSurrogatePair Checks if the passed-in surrogate pair of characters is a valid XML character.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member ToBinHexString Obsolete. Converts a byte array to a BinHex-encoded string.
Public method Static member ToBoolean Converts the String to a Boolean equivalent.
Public method Static member ToByte Converts the String to a Byte equivalent.
Public method Static member ToChar Converts the String to a Char equivalent.
Public method Static member ToDateTime(String) Obsolete. Converts the String to a DateTime equivalent.
Public method Static member ToDateTime(String, String) Converts the String to a DateTime equivalent.
Public method Static member ToDateTime(String, String[]) Converts the String to a DateTime equivalent.
Public method Static member ToDateTime(String, XmlDateTimeSerializationMode) Converts the String to a DateTime using the XmlDateTimeSerializationMode specified
Public method Static member ToDateTimeOffset(String) Converts the supplied String to a DateTimeOffset equivalent.
Public method Static member ToDateTimeOffset(String, String) Converts the supplied String to a DateTimeOffset equivalent.
Public method Static member ToDateTimeOffset(String, String[]) Converts the supplied String to a DateTimeOffset equivalent.
Public method Static member ToDecimal Converts the String to a Decimal equivalent.
Public method Static member ToDouble Converts the String to a Double equivalent.
Public method Static member ToGuid Converts the String to a Guid equivalent.
Public method Static member ToInt16 Converts the String to a Int16 equivalent.
Public method Static member ToInt32 Converts the String to a Int32 equivalent.
Public method Static member ToInt64 Converts the String to a Int64 equivalent.
Public method Static member ToSByte Converts the String to a SByte equivalent.
Public method Static member ToSingle Converts the String to a Single equivalent.
Public method ToString() Returns a string that represents the current object. (Inherited from Object.)
Public method Static member ToString(Boolean) Converts the Boolean to a String.
Public method Static member ToString(Byte) Converts the Byte to a String.
Public method Static member ToString(Char) Converts the Char to a String.
Public method Static member ToString(DateTime) Obsolete. Converts the DateTime to a String.
Public method Static member ToString(DateTimeOffset) Converts the supplied DateTimeOffset to a String.
Public method Static member ToString(Decimal) Converts the Decimal to a String.
Public method Static member ToString(Double) Converts the Double to a String.
Public method Static member ToString(Guid) Converts the Guid to a String.
Public method Static member ToString(Int16) Converts the Int16 to a String.
Public method Static member ToString(Int32) Converts the Int32 to a String.
Public method Static member ToString(Int64) Converts the Int64 to a String.
Public method Static member ToString(SByte) Converts the SByte to a String.
Public method Static member ToString(Single) Converts the Single to a String.
Public method Static member ToString(TimeSpan) Converts the TimeSpan to a String.
Public method Static member ToString(UInt16) Converts the UInt16 to a String.
Public method Static member ToString(UInt32) Converts the UInt32 to a String.
Public method Static member ToString(UInt64) Converts the UInt64 to a String.
Public method Static member ToString(DateTime, String) Converts the DateTime to a String.
Public method Static member ToString(DateTime, XmlDateTimeSerializationMode) Converts the DateTime to a String using the XmlDateTimeSerializationMode specified.
Public method Static member ToString(DateTimeOffset, String) Converts the supplied DateTimeOffset to a String in the specified format.
Public method Static member ToTimeSpan Converts the String to a TimeSpan equivalent.
Public method Static member ToUInt16 Converts the String to a UInt16 equivalent.
Public method Static member ToUInt32 Converts the String to a UInt32 equivalent.
Public method Static member ToUInt64 Converts the String to a UInt64 equivalent.
Public method Static member VerifyName Verifies that the name is a valid name according to the W3C Extended Markup Language recommendation.
Public method Static member VerifyNCName Verifies that the name is a valid NCName according to the W3C Extended Markup Language recommendation. An NCName is a name that cannot contain a colon.
Public method Static member VerifyNMTOKEN Verifies that the string is a valid NMTOKEN according to the W3C XML Schema Part2: Datatypes recommendation
Public method Static member VerifyPublicId Returns the passed in string instance if all the characters in the string argument are valid public id characters.
Public method Static member VerifyTOKEN Verifies that the string is a valid token according to the W3C XML Schema Part2: Datatypes recommendation.
Public method Static member VerifyWhitespace Returns the passed-in string instance if all the characters in the string argument are valid whitespace characters.
Public method Static member VerifyXmlChars Returns the passed-in string if all the characters and surrogate pair characters in the string argument are valid XML characters, otherwise an XmlException is thrown with information on the first invalid character encountered.
Top
Show:
© 2014 Microsoft