Visual Basic (Usage) | ![]() |
---|---|
Dim instance As InstanceStateSnapshot Dim context As FilterContext Dim typeDefinitionId As NodeId Dim relativePath As IList(Of QualifiedName) Dim attributeId As UInteger Dim indexRange As NumericRange Dim value As Object value = instance.GetAttributeValue(context, typeDefinitionId, relativePath, attributeId, indexRange) |
C# | |
---|---|
public object GetAttributeValue( FilterContext context, NodeId typeDefinitionId, IList<QualifiedName> relativePath, uint attributeId, NumericRange indexRange ) |
Parameters
- context
- The context to use when evaluating the operand.
- typeDefinitionId
- The type of the instance.
- relativePath
- The path from the instance to the node which defines the attribute.
- attributeId
- The attribute to return.
- indexRange
- The sub-set of an array value to return.
Return Value
The attribute value. Returns null if the attribute does not exist.Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x