Breyta

Deila með


TypeDelegator.GetMemberWithSameMetadataDefinitionAs(MemberInfo) Method

Definition

Searches for the MemberInfo on the current Type that matches the specified MemberInfo.

public:
 override System::Reflection::MemberInfo ^ GetMemberWithSameMetadataDefinitionAs(System::Reflection::MemberInfo ^ member);
public override System.Reflection.MemberInfo GetMemberWithSameMetadataDefinitionAs (System.Reflection.MemberInfo member);
override this.GetMemberWithSameMetadataDefinitionAs : System.Reflection.MemberInfo -> System.Reflection.MemberInfo
Public Overrides Function GetMemberWithSameMetadataDefinitionAs (member As MemberInfo) As MemberInfo

Parameters

member
MemberInfo

The MemberInfo to find on the current Type.

Returns

An object representing the member on the current Type that matches the specified member.

Exceptions

member is null.

member does not match a member on the current Type.

Remarks

This method can be used to find a constructed generic member given a member from a generic type definition.

Applies to