EasyUA Reference
GetDefaultValue(BuiltInType) Method
See Also  Send Feedback
Opc.Ua.Core.Net4 Assembly > Opc.Ua Namespace > TypeInfo Class > GetDefaultValue Method : GetDefaultValue(BuiltInType) Method

type
The Built-in type.

Glossary Item Box

Returns the default value for the specified built-in type.

Syntax

Visual Basic (Usage)Copy Code
Dim type As BuiltInType
Dim value As Object
 
value = TypeInfo.GetDefaultValue(type)
C# 
public static object GetDefaultValue( 
   BuiltInType type
)

Parameters

type
The Built-in type.

Return Value

The default value.

Requirements

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

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.