This documentation is archived and is not being maintained.

MemberDescriptor.FillAttributes Method

When overridden in a derived class, adds the attributes of the inheriting class to the specified list of attributes in the parent class.

[Visual Basic]
Protected Overridable Sub FillAttributes( _
   ByVal attributeList As IList _
)
[C#]
protected virtual void FillAttributes(
 IList attributeList
);
[C++]
protected: virtual void FillAttributes(
 IList* attributeList
);
[JScript]
protected function FillAttributes(
   attributeList : IList
);

Parameters

attributeList
An IList that lists the attributes in the parent class. Initially, this is empty.

Remarks

For duplicate attributes, the last one added to the list is kept.

The IList with the attributes is created once. If there are duplicate attributes in the list, only the first instance is saved; all subsequent duplicate attributes are removed from the list.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

MemberDescriptor Class | MemberDescriptor Members | System.ComponentModel Namespace

Show: