RibbonManager.IReflect.GetMethod Method (String, BindingFlags, Binder, array<Type[], array<ParameterModifier[])
This API supports the Visual Studio Tools for Office infrastructure and is not intended to be used directly from your code.
Namespace: Microsoft.Office.Tools.Ribbon
Assembly: Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)
Syntax
'Declaration
Private Function GetMethod ( _
name As String, _
bindingAttr As BindingFlags, _
binder As Binder, _
types As Type(), _
modifiers As ParameterModifier() _
) As MethodInfo Implements IReflect.GetMethod
'Usage
Dim instance As RibbonManager
Dim name As String
Dim bindingAttr As BindingFlags
Dim binder As Binder
Dim types As Type()
Dim modifiers As ParameterModifier()
Dim returnValue As MethodInfo
returnValue = CType(instance, IReflect).GetMethod(name, _
bindingAttr, binder, types, modifiers)
MethodInfo IReflect.GetMethod(
string name,
BindingFlags bindingAttr,
Binder binder,
Type[] types,
ParameterModifier[] modifiers
)
Parameters
- name
Type: System.String
- bindingAttr
Type: System.Reflection.BindingFlags
- binder
Type: System.Reflection.Binder
- types
Type: array<System.Type[]
- modifiers
Type: array<System.Reflection.ParameterModifier[]
Return Value
Type: System.Reflection.MethodInfo
Implements
IReflect.GetMethod(String, BindingFlags, Binder, array<Type[], array<ParameterModifier[])
.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.