This provides a way for users to modify the set of fields that the inheritance service will ignore. By default, the service ignores all fields that are private, and only allows public or protected fields. You may modify this behavior by overriding this method.
[Visual Basic] Overridable Protected Function IgnoreInheritedField( _ ByVal field As FieldInfo, _ ByVal component As IComponent _ ) As Boolean [C#] protected virtual bool IgnoreInheritedField( FieldInfo field, IComponent component ); [C++] protected: virtual bool IgnoreInheritedField( FieldInfo* field, IComponent* component ); [JScript] protected function IgnoreInheritedField( field : FieldInfo, component : IComponent ) : Boolean;
This should return true if the given field should be included in the set of inherited components, or false otherwise.
InheritanceService Class | InheritanceService Members | System.ComponentModel.Design Namespace