Parse an Xml element into a specifed type.
Namespace:
Bespoke.CommonAssembly: Bespoke.Common (in Bespoke.Common.dll) Version: 4.3.0.0 (4.3.0.0)
Syntax
C# |
---|
public static Object ParseElement( XmlNode elementNode, Type elementType ) |
Visual Basic (Declaration) |
---|
Public Shared Function ParseElement ( _ elementNode As XmlNode, _ elementType As Type _ ) As Object |
Visual C++ |
---|
public: static Object^ ParseElement( XmlNode^ elementNode, Type^ elementType ) |
Parameters
- elementNode
- Type: System.Xml..::.XmlNode
The xml node containing the element to parse.
- elementType
- Type: System..::.Type
The type of object to deserialize into.