Partager via


DataViewBrowseObject.GetDefaultEvent Method

Retrieves the default event for the current browse object.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Public Overridable Function GetDefaultEvent As EventDescriptor
public virtual EventDescriptor GetDefaultEvent()
public:
virtual EventDescriptor^ GetDefaultEvent()
abstract GetDefaultEvent : unit -> EventDescriptor  
override GetDefaultEvent : unit -> EventDescriptor
public function GetDefaultEvent() : EventDescriptor

Return Value

Type: System.ComponentModel.EventDescriptor
Returns the default event for the current browse object, or nulla null reference (Nothing in Visual Basic) if there are no events.

Implements

ICustomTypeDescriptor.GetDefaultEvent()

.NET Framework Security

See Also

Reference

DataViewBrowseObject Class

Microsoft.VisualStudio.Data.Framework Namespace