Compartilhar via


IAppxManifestDocument.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.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.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

See Also

Reference

IAppxManifestDocument Interface

Microsoft.VisualStudio.Shell.Interop Namespace