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