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.
Determines if the specified command is handled by the ExpansionProvider class.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Syntax
'Declaration
Public Overridable Function HandleQueryStatus ( _
ByRef guidCmdGroup As Guid, _
nCmdId As UInteger, _
<OutAttribute> ByRef hr As Integer _
) As Boolean
'Usage
Dim instance As ExpansionProvider
Dim guidCmdGroup As Guid
Dim nCmdId As UInteger
Dim hr As Integer
Dim returnValue As Boolean
returnValue = instance.HandleQueryStatus(guidCmdGroup, _
nCmdId, hr)
public virtual bool HandleQueryStatus(
ref Guid guidCmdGroup,
uint nCmdId,
out int hr
)
public:
virtual bool HandleQueryStatus(
Guid% guidCmdGroup,
unsigned int nCmdId,
[OutAttribute] int% hr
)
abstract HandleQueryStatus :
guidCmdGroup:Guid byref *
nCmdId:uint32 *
hr:int byref -> bool
override HandleQueryStatus :
guidCmdGroup:Guid byref *
nCmdId:uint32 *
hr:int byref -> bool
public function HandleQueryStatus(
guidCmdGroup : Guid,
nCmdId : uint,
hr : int
) : boolean
Parameters
- guidCmdGroup
Type: System.Guid%
[in] The GUID of the command group.
- nCmdId
Type: System.UInt32
[in] The specific ID of the command from the command group. This identifies the command to execute.
- hr
Type: System.Int32%
[out] Returns a combination of values from the OLECMD enumeration indicating support for the specified command.
Return Value
Type: System.Boolean
If the command is supported by the ExpansionProvider class, returns true; otherwise, returns false.
Remarks
The base method always returns false, indicating it does not support any menu-based commands.
.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.