Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
When implemented by a derived class, determines whether a named handler is in the event handler collection.
Namespace: Microsoft.VisualStudio
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Function HandlesEvent ( _
bstrEventName As String _
) As Boolean
bool HandlesEvent(
string bstrEventName
)
bool HandlesEvent(
String^ bstrEventName
)
abstract HandlesEvent :
bstrEventName:string -> bool
function HandlesEvent(
bstrEventName : String
) : boolean
Parameters
bstrEventName
Type: System.StringThe name of the evaluated handler.
Return Value
Type: System.Boolean
true if the handler is in the underlying handler collection, otherwise false.
.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.