NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

InheritanceService.IgnoreInheritedField

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;

Parameters

field
The field to check.
component
The component instance this field is bound to.

Return Value

This should return true if the given field should be included in the set of inherited components, or false otherwise.

See Also

InheritanceService Class | InheritanceService Members | System.ComponentModel.Design Namespace