T
The type of value contained in the property.
EasyUA Reference
GetValue<T>(PropertyState<T>) Method
See Also  Send Feedback
Opc.Ua.Core.Net4 Assembly > Opc.Ua Namespace > BaseVariableState Class > GetValue Method : GetValue<T>(PropertyState<T>) Method

property
The property.

Glossary Item Box

Returns the value after checking if the property is null.

Syntax

Visual Basic (Usage)Copy Code
Dim property As PropertyState(Of T)
Dim value As T
 
value = BaseVariableState.GetValue(Of T)(property)
C# 
public static T GetValue<T>( 
   PropertyState<T> property
)

Parameters

property
The property.

Type Parameters

T
The type of value contained in the property.

Return Value

The value. The default value for the datatype if the property is null.

Requirements

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

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.