Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Detects if the specified capability is currently declared in the manifest.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.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
- 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.