Share 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
'Usage
Dim instance As DataViewBrowseObject 
Dim returnValue As EventDescriptor 

returnValue = instance.GetDefaultEvent()
public virtual EventDescriptor GetDefaultEvent()
public:
virtual EventDescriptor^ GetDefaultEvent()
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

DataViewBrowseObject Members

Microsoft.VisualStudio.Data.Framework Namespace