XmlHelper Class |
Namespace: SD.LLBLGen.Pro.ORMSupportClasses
The XmlHelper type exposes the following members.
Name | Description | |
---|---|---|
![]() | AddAttribute |
Creates a new attribute with the name attributeName and the value attributeValue in the attributeCollection of the node parentNode, using
the parentNode's owner document
|
![]() | AddNode(XmlNode, String) |
Adds a new XmlNode with the name nodeName to the node parentNode specified
|
![]() | AddNode(XmlNode, String, String) |
Adds a new XmlNode with the name nodeName and the value nodeValue to the node parentNode specified
|
![]() | CreateNewNode |
Adds a new XmlNode with the name nodeName to the document specified. Does not add the node to any
parent node.
|
![]() ![]() | DeserializeObjectFromXmlStringT |
Deserializes a new instance of type T from the XML string specified, using the deserializer func.
|
![]() ![]() | EncodeTypeToXmlString |
Encodes the type to XML string.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | PropertyValueToString |
Converts the value of the property passed in to a string
|
![]() ![]() | SerializeObjectToXmlStringT |
Serializes the object to XML string using the func specified.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() ![]() | WriteValueAsStringToXml |
Writes the value as string to XML.
|
![]() ![]() | XmlValueToObject(String, String) |
Converts the passed in value to the type with the name typeName. The typeName has to be a known type in .NET, and
currently can only be a simple type, or it has to implement an explicit conversion operator which converts a string to the real object.
The value is returned as 'object'.
|
![]() ![]() | XmlValueToObject(Type, String) |
Converts the passed in value to the type specified. The realtype has to be a known type in .NET, and
currently can only be a simple type, or it has to implement an explicit conversion operator which converts a string to the real object.
The value is returned as 'object'.
|
Name | Description | |
---|---|---|
![]() ![]() | CultureNameForXmlValueConversion |
Name for the culture to use when converting a value to a string for XML serialization and to use when converting a string back to an object when
XML is deserialized. The name follows the standard names used for CultureInfo. Default: Invariant culture. See MSDN documentation on CultureInfo
for more information about the specific culture name for the culture to use. For invariant culture, use empty string.
|