NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

EventDescriptorAttribute Class

Specifies that the property was originally an event and provides the event information.

Object
   Attribute
      MemberAttribute
         EventDescriptorAttribute

[Visual Basic]
Public Class EventDescriptorAttribute
   Inherits MemberAttribute
[C#]
public class EventDescriptorAttribute : MemberAttribute
[C++]
public __gc class EventDescriptorAttribute : public MemberAttribute
[JScript]
public class EventDescriptorAttribute extends MemberAttribute

Remarks

You use an EventDescriptor at design time when you convert an event to a property. Events are converted to properties so they can be viewed and changed. The EventDescriptor provides a way to identify that the property was an event and allows you to recover the original event.

Use the InnerEvent property to get the instance of the EventDescriptor that this attribute is set to.

For more information, see TBD and TBD.

Requirements

Namespace: System.ComponentModel

Assembly: System.dll

See Also

System.ComponentModel Namespace | MemberAttribute | EventDescriptor