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
- 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.