QuickOPC User's Guide and Reference
AsPublishedDataItemsElement Method (UAPublishedDataSetSourceElementExtension)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.Configuration.Extensions Namespace > UAPublishedDataSetSourceElementExtension Class : AsPublishedDataItemsElement Method
The current OPC UA published dataset source element expressed as published data items element.
Syntax
'Declaration
 
<ExtensionAttribute()>
<CanBeNullAttribute()>
Public Shared Function AsPublishedDataItemsElement( _
   ByVal publishedDataSetSourceElement As UAPublishedDataSetSourceElement _
) As UAPublishedDataItemsElement
'Usage
 
Dim publishedDataSetSourceElement As UAPublishedDataSetSourceElement
Dim value As UAPublishedDataItemsElement
 
value = UAPublishedDataSetSourceElementExtension.AsPublishedDataItemsElement(publishedDataSetSourceElement)
[Extension()]
[CanBeNull()]
public static UAPublishedDataItemsElement AsPublishedDataItemsElement( 
   UAPublishedDataSetSourceElement publishedDataSetSourceElement
)
[Extension()]
[CanBeNull()]
public:
static UAPublishedDataItemsElement^ AsPublishedDataItemsElement( 
   UAPublishedDataSetSourceElement^ publishedDataSetSourceElement
) 

Parameters

publishedDataSetSourceElement
Remarks

Returns null if the current OPC UA published dataset source element is not a published data items element.

This method has been introduced primarily for languages like PHP that do not allow down-casting.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also