Try to find a method in a given type.

Namespace: NHibernate.Util
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public static MethodInfo TryGetMethod(
	Type type,
	MethodInfo method
)
Visual Basic
Public Shared Function TryGetMethod ( _
	type As Type, _
	method As MethodInfo _
) As MethodInfo
Visual C++
public:
static MethodInfo^ TryGetMethod(
	Type^ type, 
	MethodInfo^ method
)

Parameters

type
Type: System..::..Type
The given type.
method
Type: System.Reflection..::..MethodInfo
The method info.

Return Value

The found method or null.

Remarks

The method, in general, become from another NHibernate.Type.

See Also