ViewChangedEventArgs Constructor
Initializes a new instance of the ViewChangedEventArgs class with the new view specified.
Namespace: Microsoft.SqlServer.Management.Controls
Assembly: Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)
Syntax
'Declaration
Public Sub New ( _
oldView As IView, _
newView As IView _
)
'Usage
Dim oldView As IView
Dim newView As IView
Dim instance As New ViewChangedEventArgs(oldView, _
newView)
public ViewChangedEventArgs(
IView oldView,
IView newView
)
public:
ViewChangedEventArgs(
IView^ oldView,
IView^ newView
)
new :
oldView:IView *
newView:IView -> ViewChangedEventArgs
public function ViewChangedEventArgs(
oldView : IView,
newView : IView
)
Parameters
- oldView
Type: Microsoft.SqlServer.Management.Controls.IView
The previous view of the controls.
- newView
Type: Microsoft.SqlServer.Management.Controls.IView
The new view of the controls.