Condividi tramite


PSObjectTypeDescriptor.GetDefaultEvent Method

Definition

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.

Applies to