static void SetAttribute(IXmlElement node, string attributeName, string attributeValue) { using (var hString_attributeName = HSTRING.FromString(attributeName)) using (var hString_attributeValue = HSTRING.FromString(attributeValue)) ComFunctions.CheckHRESULT(node.SetAttribute(hString_attributeName, hString_attributeValue)); }
static void SetAttribute(IXmlElement node, string attributeName, string attributeValue) { ComFunctions.CheckHRESULT(node.SetAttribute(attributeName, attributeValue)); }