Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft