EventInfo.GetAddMethod Method ()

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

Syntax

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

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

Parameters

  • nonPublic
    Type: Boolean

Return Value

Type: System.Reflection.Mock.MethodInfo

.NET Framework Security

See Also

Reference

EventInfo Class

EventInfo Members

GetAddMethod Overload

System.Reflection.Mock Namespace