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
'宣言
Public Sub SetDefaultEvent ( _
value As EventDescriptor _
)
'使用
Dim instance As DataViewBrowseObject
Dim value As EventDescriptor
instance.SetDefaultEvent(value)
public void SetDefaultEvent(
EventDescriptor value
)
public:
void SetDefaultEvent(
EventDescriptor^ value
)
public function SetDefaultEvent(
value : EventDescriptor
)
Parameters
value
Type: System.ComponentModel.EventDescriptorAn EventDescriptor object to set as the default event.
Permissions
- 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.