Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
- 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.