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

 

Initializes a new instance of the EventDescriptor class with the name in the specified MemberDescriptor and the attributes in both the MemberDescriptor and the Attribute array.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

protected:
EventDescriptor(
	MemberDescriptor^ descr,
	array<Attribute^>^ attrs
)

Parameters

descr
Type: System.ComponentModel::MemberDescriptor^

A MemberDescriptor that has the name of the member and its attributes.

attrs
Type: array<System::Attribute^>^

An Attribute array with the attributes you want to add to this event description.

This constructor appends the attributes in the Attribute array to the attributes in the MemberDescriptor.

.NET Framework
Available since 1.1
Return to top
Show: