Type.GetMemberWithSameMetadataDefinitionAs(MemberInfo) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Searches for the MemberInfo on the current Type that matches the specified MemberInfo.
public:
virtual System::Reflection::MemberInfo ^ GetMemberWithSameMetadataDefinitionAs(System::Reflection::MemberInfo ^ member);
public virtual System.Reflection.MemberInfo GetMemberWithSameMetadataDefinitionAs (System.Reflection.MemberInfo member);
abstract member GetMemberWithSameMetadataDefinitionAs : System.Reflection.MemberInfo -> System.Reflection.MemberInfo
override this.GetMemberWithSameMetadataDefinitionAs : System.Reflection.MemberInfo -> System.Reflection.MemberInfo
Public Overridable 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
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.