Opc.Ua.Server.Aggregators.GetIdForStandardAggregate C# (CSharp) Method

GetIdForStandardAggregate() public static method

Returns the id for a standard aggregates.
public static GetIdForStandardAggregate ( QualifiedName aggregateName ) : NodeId
aggregateName QualifiedName
return NodeId
        public static NodeId GetIdForStandardAggregate(QualifiedName aggregateName)
        {
            for (int ii = 0; ii < s_Mappings.Length; ii++)
            {
                if (s_Mappings[ii].AggregateName == aggregateName)
                {
                    return s_Mappings[ii].AggregateId;
                }
            }

            return null;
        }