Compartir a través de


IAppxManifestDocument2.HasCapability Method

Detects if the specified capability is currently declared in the manifest.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)

Syntax

'Declaration
Function HasCapability ( _
    capabilityId As String _
) As Boolean
bool HasCapability(
    string capabilityId
)
bool HasCapability(
    [InAttribute] String^ capabilityId
)
abstract HasCapability : 
        capabilityId:string -> bool
function HasCapability(
    capabilityId : String
) : boolean

Parameters

  • capabilityId
    Type: String

    [in] The identifier of the capability.

Return Value

Type: Boolean
true if the given capability is currently declared in the manifest.

.NET Framework Security

See Also

Reference

IAppxManifestDocument2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace