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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.