DataViewBrowseObject.SetDefaultEvent Method
Sets 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 Sub SetDefaultEvent ( _
value As EventDescriptor _
)
public void SetDefaultEvent(
EventDescriptor value
)
public:
void SetDefaultEvent(
EventDescriptor^ value
)
member SetDefaultEvent :
value:EventDescriptor -> unit
public function SetDefaultEvent(
value : EventDescriptor
)
Parameters
- value
Type: System.ComponentModel.EventDescriptor
An EventDescriptor object to set as the default event.
.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.