T
The type of extension.
EasyUA Reference
ParseExtension<T> Method
See Also  Send Feedback
Opc.Ua.Core.Net4 Assembly > Opc.Ua Namespace > Utils Class : ParseExtension<T> Method

extensions
The list of extensions to search.
elementName
Name of the element (use type name if null).

Glossary Item Box

Looks for an extension with the specified type and uses the DataContractSerializer to parse it.

Syntax

Visual Basic (Usage)Copy Code
Dim extensions As IList(Of XmlElement)
Dim elementName As XmlQualifiedName
Dim value As T
 
value = Utils.ParseExtension(Of T)(extensions, elementName)
C# 
public static T ParseExtension<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.

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.