MemberDescriptor Constructor (MemberDescriptor^, array<Attribute^>^)
.NET Framework (current version)
Initializes a new instance of the MemberDescriptor class with the name in the specified MemberDescriptor and the attributes in both the old MemberDescriptor and the Attribute array.
Assembly: System (in System.dll)
protected: MemberDescriptor( MemberDescriptor^ oldMemberDescriptor, array<Attribute^>^ newAttributes )
Parameters
- oldMemberDescriptor
-
Type:
System.ComponentModel::MemberDescriptor^
A MemberDescriptor that has the name of the member and its attributes.
- newAttributes
-
Type:
array<System::Attribute^>^
An array of Attribute objects with the attributes you want to add to the member.
This constructor appends the attributes in the Attribute array to the attributes in the old MemberDescriptor.
.NET Framework
Available since 1.1
Available since 1.1
Show: