PSObjectTypeDescriptor.GetDefaultEvent Method     
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the default event for this object.
public:
 override System::ComponentModel::EventDescriptor ^ GetDefaultEvent();
	public override System.ComponentModel.EventDescriptor GetDefaultEvent();
	override this.GetDefaultEvent : unit -> System.ComponentModel.EventDescriptor
	Public Overrides Function GetDefaultEvent () As EventDescriptor
	Returns
An EventDescriptor that represents the default event for this object, or a null reference (Nothing in Visual Basic) if this object does not have events.