static internal Opc.Da.ItemPropertyCollection PropertiesXMLSerializerFilter(Opc.Da.ItemPropertyCollection inputproplist) { Opc.Da.ItemPropertyCollection returnproplist = new Opc.Da.ItemPropertyCollection(); foreach (Opc.Da.ItemProperty prop in inputproplist) { returnproplist.Add(PropertyXMLSerializerFilter(prop)); } return(returnproplist); }
static internal Opc.Da.ItemPropertyCollection[] PropertiesCollectionXMLSerializerFilter(Opc.Da.ItemPropertyCollection[] inputproplist) { Opc.Da.ItemPropertyCollection[] returnproplist = new Opc.Da.ItemPropertyCollection[inputproplist.Length]; int idx = 0; foreach (Opc.Da.ItemPropertyCollection prop in inputproplist) { returnproplist[idx++] = PropertiesXMLSerializerFilter(prop); } return(returnproplist); }