 | ExtensionMethodsGetGenericMethod Method |
Get generic method
Namespace: SanteDBAssembly: SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 3.0.2081-alpha+0a330d5f5a5d3cb3e6e945ef530e94ac5671b49c
Syntaxpublic 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
[Missing <param name="type"/> documentation for "M:SanteDB.ExtensionMethods.GetGenericMethod(System.Type,System.String,System.Type[],System.Type[])"]
- name String
[Missing <param name="name"/> documentation for "M:SanteDB.ExtensionMethods.GetGenericMethod(System.Type,System.String,System.Type[],System.Type[])"]
- typeArgs Type
[Missing <param name="typeArgs"/> documentation for "M:SanteDB.ExtensionMethods.GetGenericMethod(System.Type,System.String,System.Type[],System.Type[])"]
- argTypes Type
[Missing <param name="argTypes"/> documentation for "M:SanteDB.ExtensionMethods.GetGenericMethod(System.Type,System.String,System.Type[],System.Type[])"]
Return Value
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