| ExtensionMethodsGetGenericMethod Method |
Get generic method
Namespace:
SanteDB
Assembly:
SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 3.0.481-alpha
Syntax public static MethodBase GetGenericMethod(
this Type type,
string name,
Type[] typeArgs,
Type[] argTypes
)
<ExtensionAttribute>
Public Shared Function GetGenericMethod (
type As Type,
name As String,
typeArgs As Type(),
argTypes As Type()
) As MethodBase
public:
[ExtensionAttribute]
static MethodBase^ GetGenericMethod(
Type^ type,
String^ name,
array<Type^>^ typeArgs,
array<Type^>^ argTypes
)
[<ExtensionAttribute>]
static member GetGenericMethod :
type : Type *
name : string *
typeArgs : Type[] *
argTypes : Type[] -> MethodBase
Parameters
- type
- Type: SystemType
[Missing <param name="type"/> documentation for "M:SanteDB.ExtensionMethods.GetGenericMethod(System.Type,System.String,System.Type[],System.Type[])"]
- name
- Type: SystemString
[Missing <param name="name"/> documentation for "M:SanteDB.ExtensionMethods.GetGenericMethod(System.Type,System.String,System.Type[],System.Type[])"]
- typeArgs
- Type: SystemType
[Missing <param name="typeArgs"/> documentation for "M:SanteDB.ExtensionMethods.GetGenericMethod(System.Type,System.String,System.Type[],System.Type[])"]
- argTypes
- Type: SystemType
[Missing <param name="argTypes"/> documentation for "M:SanteDB.ExtensionMethods.GetGenericMethod(System.Type,System.String,System.Type[],System.Type[])"]
Return Value
Type:
MethodBase[Missing <returns> documentation for "M:SanteDB.ExtensionMethods.GetGenericMethod(System.Type,System.String,System.Type[],System.Type[])"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Type. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also