Returns the type info if the value is an instance of the data type with the specified value rank.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim value As Object
Dim expectedDataTypeId As NodeId
Dim expectedValueRank As Integer
Dim namespaceUris As NamespaceTable
Dim typeTree As ITypeTable
Dim value As TypeInfo
value = TypeInfo.IsInstanceOfDataType(value, expectedDataTypeId, expectedValueRank, namespaceUris, typeTree)
|
Parameters
- value
- The value instance to check.
- expectedDataTypeId
- The expected data type identifier for a node.
- expectedValueRank
- The expected value rank.
- namespaceUris
- The namespace URI's.
- typeTree
- The type tree for a server.
Return Value
An data type info if the value is an instance of the data type with the specified value rank; otherwise
null
.
Requirements
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x
See Also