XmlConvert Methods

 

Namespace:   System.Xml
Assembly:  System.Xml (in System.Xml.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticDecodeName(String)

Decodes a name. This method does the reverse of the EncodeName and EncodeLocalName methods.

System_CAPS_pubmethodSystem_CAPS_staticEncodeLocalName(String)

Converts the name to a valid XML local name.

System_CAPS_pubmethodSystem_CAPS_staticEncodeName(String)

Converts the name to a valid XML name.

System_CAPS_pubmethodSystem_CAPS_staticEncodeNmToken(String)

Verifies the name is valid according to the XML specification.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticIsNCNameChar(Char)

Checks whether the passed-in character is a valid non-colon character type.

System_CAPS_pubmethodSystem_CAPS_staticIsPublicIdChar(Char)

Returns the passed-in character instance if the character in the argument is a valid public id character, otherwise null.

System_CAPS_pubmethodSystem_CAPS_staticIsStartNCNameChar(Char)

Checks if the passed-in character is a valid Start Name Character type.

System_CAPS_pubmethodSystem_CAPS_staticIsWhitespaceChar(Char)

Checks if the passed-in character is a valid XML whitespace character.

System_CAPS_pubmethodSystem_CAPS_staticIsXmlChar(Char)

Checks if the passed-in character is a valid XML character.

System_CAPS_pubmethodSystem_CAPS_staticIsXmlSurrogatePair(Char, Char)

Checks if the passed-in surrogate pair of characters is a valid XML character.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticToBoolean(String)

Converts the String to a Boolean equivalent.

System_CAPS_pubmethodSystem_CAPS_staticToByte(String)

Converts the String to a Byte equivalent.

System_CAPS_pubmethodSystem_CAPS_staticToChar(String)

Converts the String to a Char equivalent.

System_CAPS_pubmethodSystem_CAPS_staticToDateTime(String)

Obsolete. Converts the String to a DateTime equivalent.

System_CAPS_pubmethodSystem_CAPS_staticToDateTime(String, String)

Converts the String to a DateTime equivalent.

System_CAPS_pubmethodSystem_CAPS_staticToDateTime(String, String[])

Converts the String to a DateTime equivalent.

System_CAPS_pubmethodSystem_CAPS_staticToDateTime(String, XmlDateTimeSerializationMode)

Converts the String to a DateTime using the XmlDateTimeSerializationMode specified

System_CAPS_pubmethodSystem_CAPS_staticToDateTimeOffset(String)

Converts the supplied String to a DateTimeOffset equivalent.

System_CAPS_pubmethodSystem_CAPS_staticToDateTimeOffset(String, String)

Converts the supplied String to a DateTimeOffset equivalent.

System_CAPS_pubmethodSystem_CAPS_staticToDateTimeOffset(String, String[])

Converts the supplied String to a DateTimeOffset equivalent.

System_CAPS_pubmethodSystem_CAPS_staticToDecimal(String)

Converts the String to a Decimal equivalent.

System_CAPS_pubmethodSystem_CAPS_staticToDouble(String)

Converts the String to a Double equivalent.

System_CAPS_pubmethodSystem_CAPS_staticToGuid(String)

Converts the String to a Guid equivalent.

System_CAPS_pubmethodSystem_CAPS_staticToInt16(String)

Converts the String to a Int16 equivalent.

System_CAPS_pubmethodSystem_CAPS_staticToInt32(String)

Converts the String to a Int32 equivalent.

System_CAPS_pubmethodSystem_CAPS_staticToInt64(String)

Converts the String to a Int64 equivalent.

System_CAPS_pubmethodSystem_CAPS_staticToSByte(String)

Converts the String to a SByte equivalent.

System_CAPS_pubmethodSystem_CAPS_staticToSingle(String)

Converts the String to a Single equivalent.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticToString(Boolean)

Converts the Boolean to a String.

System_CAPS_pubmethodSystem_CAPS_staticToString(Byte)

Converts the Byte to a String.

System_CAPS_pubmethodSystem_CAPS_staticToString(Char)

Converts the Char to a String.

System_CAPS_pubmethodSystem_CAPS_staticToString(DateTime)

Obsolete. Converts the DateTime to a String.

System_CAPS_pubmethodSystem_CAPS_staticToString(DateTime, String)

Converts the DateTime to a String.

System_CAPS_pubmethodSystem_CAPS_staticToString(DateTime, XmlDateTimeSerializationMode)

Converts the DateTime to a String using the XmlDateTimeSerializationMode specified.

System_CAPS_pubmethodSystem_CAPS_staticToString(DateTimeOffset)

Converts the supplied DateTimeOffset to a String.

System_CAPS_pubmethodSystem_CAPS_staticToString(DateTimeOffset, String)

Converts the supplied DateTimeOffset to a String in the specified format.

System_CAPS_pubmethodSystem_CAPS_staticToString(Decimal)

Converts the Decimal to a String.

System_CAPS_pubmethodSystem_CAPS_staticToString(Double)

Converts the Double to a String.

System_CAPS_pubmethodSystem_CAPS_staticToString(Guid)

Converts the Guid to a String.

System_CAPS_pubmethodSystem_CAPS_staticToString(Int16)

Converts the Int16 to a String.

System_CAPS_pubmethodSystem_CAPS_staticToString(Int32)

Converts the Int32 to a String.

System_CAPS_pubmethodSystem_CAPS_staticToString(Int64)

Converts the Int64 to a String.

System_CAPS_pubmethodSystem_CAPS_staticToString(SByte)

Converts the SByte to a String.

System_CAPS_pubmethodSystem_CAPS_staticToString(Single)

Converts the Single to a String.

System_CAPS_pubmethodSystem_CAPS_staticToString(TimeSpan)

Converts the TimeSpan to a String.

System_CAPS_pubmethodSystem_CAPS_staticToString(UInt16)

Converts the UInt16 to a String.

System_CAPS_pubmethodSystem_CAPS_staticToString(UInt32)

Converts the UInt32 to a String.

System_CAPS_pubmethodSystem_CAPS_staticToString(UInt64)

Converts the UInt64 to a String.

System_CAPS_pubmethodSystem_CAPS_staticToTimeSpan(String)

Converts the String to a TimeSpan equivalent.

System_CAPS_pubmethodSystem_CAPS_staticToUInt16(String)

Converts the String to a UInt16 equivalent.

System_CAPS_pubmethodSystem_CAPS_staticToUInt32(String)

Converts the String to a UInt32 equivalent.

System_CAPS_pubmethodSystem_CAPS_staticToUInt64(String)

Converts the String to a UInt64 equivalent.

System_CAPS_pubmethodSystem_CAPS_staticVerifyName(String)

Verifies that the name is a valid name according to the W3C Extended Markup Language recommendation.

System_CAPS_pubmethodSystem_CAPS_staticVerifyNCName(String)

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.

System_CAPS_pubmethodSystem_CAPS_staticVerifyNMTOKEN(String)

Verifies that the string is a valid NMTOKEN according to the W3C XML Schema Part2: Datatypes recommendation

System_CAPS_pubmethodSystem_CAPS_staticVerifyPublicId(String)

Returns the passed in string instance if all the characters in the string argument are valid public id characters.

System_CAPS_pubmethodSystem_CAPS_staticVerifyTOKEN(String)

Verifies that the string is a valid token according to the W3C XML Schema Part2: Datatypes recommendation.

System_CAPS_pubmethodSystem_CAPS_staticVerifyWhitespace(String)

Returns the passed-in string instance if all the characters in the string argument are valid whitespace characters.

System_CAPS_pubmethodSystem_CAPS_staticVerifyXmlChars(String)

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.

Return to top
Show: