Esempio n. 1
0
 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));
 }
Esempio n. 2
0
 static void SetAttribute(IXmlElement node, string attributeName, string attributeValue)
 {
     ComFunctions.CheckHRESULT(node.SetAttribute(attributeName, attributeValue));
 }