IAppxManifestDocument2.AddCapability Method
Adds the specified capability to the manifest if it is not already present.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)
Syntax
'Declaration
Sub AddCapability ( _
capabilityId As String _
)
void AddCapability(
string capabilityId
)
void AddCapability(
[InAttribute] String^ capabilityId
)
abstract AddCapability :
capabilityId:string -> unit
function AddCapability(
capabilityId : String
)
Parameters
capabilityId
Type: String[in] The capability to add to the manifest.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.