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