Type.GetEvent Method (, )
Namespace: System.Reflection.Mock
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Public MustOverride Function GetEvent ( _
name As String, _
flags As BindingFlags _
) As EventInfo
'Usage
Dim instance As Type
Dim name As String
Dim flags As BindingFlags
Dim returnValue As EventInfo
returnValue = instance.GetEvent(name, _
flags)
public abstract EventInfo GetEvent(
string name,
BindingFlags flags
)
public:
virtual EventInfo^ GetEvent(
String^ name,
BindingFlags flags
) abstract
abstract GetEvent :
name:string *
flags:BindingFlags -> EventInfo
public abstract function GetEvent(
name : String,
flags : BindingFlags
) : EventInfo
Parameters
- name
Type: String
- flags
Type: BindingFlags
Return Value
Type: System.Reflection.Mock.EventInfo
.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.