WorkspaceChangedEventArgs 构造函数

适用于版本2

初始化 WorkspaceChangedEventArgs 类的新实例。

命名空间:  Microsoft.WebMatrix.Extensibility
程序集:  Microsoft.WebMatrix.Extensibility(在 Microsoft.WebMatrix.Extensibility.dll 中)

语法

声明
Public Sub New ( _
    oldWorkspace As IWorkspace, _
    newWorkspace As IWorkspace _
)
用法
Dim oldWorkspace As IWorkspace 
Dim newWorkspace As IWorkspace 

Dim instance As New WorkspaceChangedEventArgs(oldWorkspace, _
    newWorkspace)
public WorkspaceChangedEventArgs(
    IWorkspace oldWorkspace,
    IWorkspace newWorkspace
)
public:
WorkspaceChangedEventArgs(
    IWorkspace^ oldWorkspace, 
    IWorkspace^ newWorkspace
)
new : 
        oldWorkspace:IWorkspace * 
        newWorkspace:IWorkspace -> WorkspaceChangedEventArgs
public function WorkspaceChangedEventArgs(
    oldWorkspace : IWorkspace, 
    newWorkspace : IWorkspace
)

参数

请参阅

参考

WorkspaceChangedEventArgs 类

Microsoft.WebMatrix.Extensibility 命名空间