| File: Utilities\IntrinsicOperators\AbstractAddRemoveHandlerStatementDocumentation.vb | Web Access |
| Project: src\roslyn\src\Workspaces\VisualBasic\Portable\Microsoft.CodeAnalysis.VisualBasic.Workspaces.vbproj (Microsoft.CodeAnalysis.VisualBasic.Workspaces) |
' Licensed to the .NET Foundation under one or more agreements. ' The .NET Foundation licenses this file to you under the MIT license. ' See the LICENSE file in the project root for more information. Namespace Microsoft.CodeAnalysis.VisualBasic.Utilities.IntrinsicOperators Friend MustInherit Class AbstractAddRemoveHandlerStatementDocumentation Inherits AbstractIntrinsicOperatorDocumentation Public Overrides Function GetParameterName(index As Integer) As String Select Case index Case 0 Return VBWorkspaceResources.event_ Case 1 Return VBWorkspaceResources.handler Case Else Throw New ArgumentException(NameOf(index)) End Select End Function Public Overrides ReadOnly Property IncludeAsType As Boolean Get Return False End Get End Property Public NotOverridable Overrides ReadOnly Property ParameterCount As Integer Get Return 2 End Get End Property End Class End Namespace