共用方式為


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 命名空間