UwpAppxBuildTools.AddCapability(XElement, XName, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a capability to the given rootNode, which must be the read AppX manifest from the build output.
public:
static void AddCapability(System::Xml::Linq::XElement ^ rootNode, System::Xml::Linq::XName ^ capability, System::String ^ value);
public static void AddCapability (System.Xml.Linq.XElement rootNode, System.Xml.Linq.XName capability, string value);
static member AddCapability : System.Xml.Linq.XElement * System.Xml.Linq.XName * string -> unit
Public Shared Sub AddCapability (rootNode As XElement, capability As XName, value As String)
Parameters
- rootNode
- XElement
An XElement containing the AppX manifest from the build output
- capability
- XName
The added capabilities tag as XName
- value
- String
Value of the Name-XAttribute of the added capability