EventInfo.GetRemoveMethod Method ()

Namespace:  System.Reflection.Mock
Assembly:  Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)

Syntax

'Declaration
Public MustOverride Function GetRemoveMethod ( _
    nonPublic As Boolean _
) As MethodInfo
'Usage
Dim instance As EventInfo
Dim nonPublic As Boolean
Dim returnValue As MethodInfo

returnValue = instance.GetRemoveMethod(nonPublic)
public abstract MethodInfo GetRemoveMethod(
    bool nonPublic
)
public:
virtual MethodInfo^ GetRemoveMethod(
    bool nonPublic
) abstract
abstract GetRemoveMethod : 
        nonPublic:bool -> MethodInfo 
public abstract function GetRemoveMethod(
    nonPublic : boolean
) : MethodInfo

Parameters

  • nonPublic
    Type: Boolean

Return Value

Type: System.Reflection.Mock.MethodInfo

.NET Framework Security

See Also

Reference

EventInfo Class

EventInfo Members

GetRemoveMethod Overload

System.Reflection.Mock Namespace