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

'宣言
Public Overridable Function GetDefaultEvent As EventDescriptor
'使用
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 a null reference (Nothing in Visual Basic) if there are no events.

Implements

ICustomTypeDescriptor.GetDefaultEvent()

Permissions

See Also

Reference

DataViewBrowseObject Class

DataViewBrowseObject Members

Microsoft.VisualStudio.Data.Framework Namespace