'Declaration
Public Shared Function ParseExtension(Of T)( _ ByVal extensions As IList(Of XmlElement), _ ByVal elementName As XmlQualifiedName _ ) As T
'Usage
Dim extensions As IList(Of XmlElement) Dim elementName As XmlQualifiedName Dim value As T value = Utils.ParseExtension(Of T)(extensions, elementName)
public static T ParseExtension<T>( IList<XmlElement> extensions, XmlQualifiedName elementName )
public: static T^ ParseExtensiongeneric<typename T> ( IList<XmlElement^>^ extensions, XmlQualifiedName^ elementName )
Parameters
- extensions
- The list of extensions to search.
- elementName
- Name of the element (use type name if null).
Type Parameters
- T
- The type of extension.
Return Value
The deserialized extension. Null if an error occurs.