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.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om