InheritanceService::IgnoreInheritedMember Method (MemberInfo^, IComponent^)
.NET Framework (current version)
Indicates whether to ignore the specified member.
Assembly: System.Design (in System.Design.dll)
protected: virtual bool IgnoreInheritedMember( MemberInfo^ member, IComponent^ component )
Parameters
- member
-
Type:
System.Reflection::MemberInfo^
The member to check. This member is either a FieldInfo or a MethodInfo.
- component
-
Type:
System.ComponentModel::IComponent^
The component instance this member is bound to.
Return Value
Type: System::Booleantrue if the specified member should be included in the set of inherited components; otherwise, false.
Notes to Implementers:
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.
.NET Framework
Available since 1.1
Available since 1.1
Show: