InheritanceService.IgnoreInheritedMember(MemberInfo, IComponent) 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.
Indicates whether to ignore the specified member.
protected:
virtual bool IgnoreInheritedMember(System::Reflection::MemberInfo ^ member, System::ComponentModel::IComponent ^ component);
protected virtual bool IgnoreInheritedMember (System.Reflection.MemberInfo member, System.ComponentModel.IComponent component);
protected virtual bool IgnoreInheritedMember (System.Reflection.MemberInfo member, System.ComponentModel.IComponent? component);
abstract member IgnoreInheritedMember : System.Reflection.MemberInfo * System.ComponentModel.IComponent -> bool
override this.IgnoreInheritedMember : System.Reflection.MemberInfo * System.ComponentModel.IComponent -> bool
Protected Overridable Function IgnoreInheritedMember (member As MemberInfo, component As IComponent) As Boolean
Parameters
- member
- MemberInfo
The member to check. This member is either a FieldInfo or a MethodInfo.
- component
- IComponent
The component instance this member is bound to.
Returns
true
if the specified member should be included in the set of inherited components; otherwise, false
.
Notes to Inheritors
By overriding this method, users can modify the set of members that the inheritance service ignores. The default implementation ignores all members that are private, and allows only public or protected members.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for