UwpAppxBuildTools.AddCapabilities 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.
Overloads
| AddCapabilities(IBuildInfo, XElement) |
Adds capabilities according to the values in the buildInfo to the manifest file. |
| AddCapabilities(XElement, List<String>) |
Adds the given capabilities to the manifest. |
AddCapabilities(IBuildInfo, XElement)
Adds capabilities according to the values in the buildInfo to the manifest file.
public static void AddCapabilities (Microsoft.MixedReality.Toolkit.Build.Editor.IBuildInfo buildInfo, System.Xml.Linq.XElement rootElement = default);
static member AddCapabilities : Microsoft.MixedReality.Toolkit.Build.Editor.IBuildInfo * System.Xml.Linq.XElement -> unit
Public Shared Sub AddCapabilities (buildInfo As IBuildInfo, Optional rootElement As XElement = Nothing)
Parameters
- buildInfo
- IBuildInfo
An IBuildInfo containing a valid OutputDirectory and all capabilities
- rootElement
- XElement
Applies to
AddCapabilities(XElement, List<String>)
Adds the given capabilities to the manifest.
public:
static void AddCapabilities(System::Xml::Linq::XElement ^ rootNode, System::Collections::Generic::List<System::String ^> ^ capabilities);
public static void AddCapabilities (System.Xml.Linq.XElement rootNode, System.Collections.Generic.List<string> capabilities);
static member AddCapabilities : System.Xml.Linq.XElement * System.Collections.Generic.List<string> -> unit
Public Shared Sub AddCapabilities (rootNode As XElement, capabilities As List(Of String))
Parameters
- rootNode
- XElement