Given a property or a field try to get the member from a given possible inherited type.

Namespace: NHibernate.Mapping.ByCode
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public static MemberInfo GetMemberFromReflectedType(
	this MemberInfo member,
	Type reflectedType
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function GetMemberFromReflectedType ( _
	member As MemberInfo, _
	reflectedType As Type _
) As MemberInfo
Visual C++
[ExtensionAttribute]
public:
static MemberInfo^ GetMemberFromReflectedType(
	MemberInfo^ member, 
	Type^ reflectedType
)

Parameters

member
Type: System.Reflection..::..MemberInfo
The member to find.
reflectedType
Type: System..::..Type
The type where find the member.

Return Value

The member from the reflected-type or the original member where the member is not accessible from reflectedType.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type MemberInfo. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also