MemberDescriptor Constructor (MemberDescriptor^, array<Attribute^>^)

 

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.

Namespace:   System.ComponentModel
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
Return to top
Show: