~~NOTRANS~~ ====== IOpcReadOnlyNodeDataStore Members ====== **Namespace:** Opc.UaFx \\ **Assemblies:** Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll \\ The [[Opc.UaFx.IOpcReadOnlyNodeDataStore|IOpcReadOnlyNodeDataStore]] interface defines the following members. ===== Methods ===== ==== Get<T>(OpcAttribute, OpcName) ==== <panel> Retrieves the value of the ''attribute'' of the element browsable through the ''name'' specified. **C#** \\ <code csharp> T Get<T>(OpcAttribute attribute, OpcName name) </code> \\ **Parameters** ''attribute'' [[Opc.UaFx.OpcAttribute|OpcAttribute]] \\ One of the members defined by the [[Opc.UaFx.OpcAttribute|OpcAttribute]] enumeration identifying the attribute value to query from the element specified by the ''name''.\\ ''name'' [[Opc.UaFx.OpcName|OpcName]] \\ The [[Opc.UaFx.OpcName|OpcName]] to use to browse to the element from that the requested ''attribute'' value is to be retrieved.\\ \\ **Returns** [[Members#T|T]] \\ The ''T'' of the attribute of the element requested or the default value if the attribute value is not of the type specified by ''T''. </panel> ==== Get<T>(OpcAttribute, OpcName[]) ==== <panel> Retrieves the value of the ''attribute'' of the element browsable through the ''pathElements'' specified. **C#** \\ <code csharp> T Get<T>(OpcAttribute attribute, params OpcName[] pathElements) </code> \\ **Parameters** ''attribute'' [[Opc.UaFx.OpcAttribute|OpcAttribute]] \\ One of the members defined by the [[Opc.UaFx.OpcAttribute|OpcAttribute]] enumeration identifying the attribute value to query from the element specified by the ''pathElements''.\\ ''pathElements'' [[Opc.UaFx.OpcName|OpcName]][] \\ The [[Opc.UaFx.OpcName|OpcName]]'s to use to browse to the element from that the requested ''attribute'' value is to be retrieved.\\ \\ **Returns** [[Members#T|T]] \\ The ''T'' of the attribute of the element requested or the default value if the attribute value is not of the type specified by ''T''. \\ \\ **Exceptions** [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentnullexception|ArgumentNullException]] \\ One of the items in ''pathElements'' is a null reference (Nothing in Visual Basic).\\ </panel> ==== Get<T>(OpcAttribute, OpcNamePath) ==== <panel> Retrieves the value of the ''attribute'' of the element browsable through the ''path'' specified. **C#** \\ <code csharp> T Get<T>(OpcAttribute attribute, OpcNamePath path) </code> \\ **Parameters** ''attribute'' [[Opc.UaFx.OpcAttribute|OpcAttribute]] \\ One of the members defined by the [[Opc.UaFx.OpcAttribute|OpcAttribute]] enumeration identifying the attribute value to query from the element specified by the ''path''.\\ ''path'' [[Opc.UaFx.OpcNamePath|OpcNamePath]] \\ The sequence [[Opc.UaFx.OpcName|OpcName]] instances to use to browse to the element from that the requested ''attribute'' value is to be retrieved.\\ \\ **Returns** [[Members#T|T]] \\ The ''T'' of the attribute of the element requested or the default value if the attribute value is not of the type specified by ''T''. \\ \\ **Exceptions** [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentnullexception|ArgumentNullException]] \\ The ''path'' is a null reference (Nothing in Visual Basic).\\ </panel> ==== Get<T>(OpcAttribute, String) ==== <panel> Retrieves the value of the ''attribute'' of the element browsable through the ''name'' specified. **C#** \\ <code csharp> T Get<T>(OpcAttribute attribute, string name = "") </code> \\ **Parameters** ''attribute'' [[Opc.UaFx.OpcAttribute|OpcAttribute]] \\ One of the members defined by the [[Opc.UaFx.OpcAttribute|OpcAttribute]] enumeration identifying the attribute value to query from the element specified by the ''name''.\\ ''name'' [[https://docs.microsoft.com/en-us/dotnet/api/system.string|String]] \\ The [[https://docs.microsoft.com/en-us/dotnet/api/system.string|String]] formatted [[Opc.UaFx.OpcName|OpcName]] to use to browse to the element from that the requested ''attribute'' value is to be retrieved.\\ \\ **Returns** [[Members#T|T]] \\ The ''T'' of the attribute of the element requested or the default value if the attribute value is not of the type specified by ''T''. </panel> ==== Get<T>(OpcName) ==== <panel> Retrieves the [[Opc.UaFx.OpcAttributeMembers#Value|Value]] attribute of the element browsable through the ''name'' specified. **C#** \\ <code csharp> T Get<T>(OpcName name) </code> \\ **Parameters** ''name'' [[Opc.UaFx.OpcName|OpcName]] \\ The [[Opc.UaFx.OpcName|OpcName]] to use to browse to the element from that the requested [[Opc.UaFx.OpcAttributeMembers#Value|Value]] attribute is to be retrieved.\\ \\ **Returns** [[Members#T|T]] \\ The ''T'' of the attribute of the element requested or the default value if the attribute value is not of the type specified by ''T''. </panel> ==== Get<T>(String) ==== <panel> Retrieves the [[Opc.UaFx.OpcAttributeMembers#Value|Value]] attribute of the element browsable through the ''name'' specified. **C#** \\ <code csharp> T Get<T>(string name = "") </code> \\ **Parameters** ''name'' [[https://docs.microsoft.com/en-us/dotnet/api/system.string|String]] \\ The [[https://docs.microsoft.com/en-us/dotnet/api/system.string|String]] formatted [[Opc.UaFx.OpcName|OpcName]] to use to browse to the element from that the requested [[Opc.UaFx.OpcAttributeMembers#Value|Value]] attribute is to be retrieved.\\ \\ **Returns** [[Members#T|T]] \\ The ''T'' of the attribute of the element requested or the default value if the attribute value is not of the type specified by ''T''. </panel>