共用方式為


DesignerTransactionCloseEventArgs 建構函式

定義

初始化 DesignerTransactionCloseEventArgs 類別的新執行個體。

多載

DesignerTransactionCloseEventArgs(Boolean)
已淘汰.
已淘汰.
已淘汰.

使用會指出設計工具是否在異動上呼叫 DesignerTransactionCloseEventArgs 的指定值,初始化 Commit() 類別的新執行個體。

DesignerTransactionCloseEventArgs(Boolean, Boolean)

初始化 DesignerTransactionCloseEventArgs 類別的新執行個體。

DesignerTransactionCloseEventArgs(Boolean)

來源:
DesignerTransactionCloseEventArgs.cs
來源:
DesignerTransactionCloseEventArgs.cs
來源:
DesignerTransactionCloseEventArgs.cs

警告

This constructor is obsolete. Use DesignerTransactionCloseEventArgs(bool, bool) instead. https://go.microsoft.com/fwlink/?linkid=14202

警告

This constructor has been deprecated. Use DesignerTransactionCloseEventArgs(bool, bool) instead.

警告

This constructor is obsolete. Use DesignerTransactionCloseEventArgs(bool, bool) instead. http://go.microsoft.com/fwlink/?linkid=14202

使用會指出設計工具是否在異動上呼叫 DesignerTransactionCloseEventArgs 的指定值,初始化 Commit() 類別的新執行個體。

public:
 DesignerTransactionCloseEventArgs(bool commit);
[System.Obsolete("This constructor is obsolete. Use DesignerTransactionCloseEventArgs(bool, bool) instead.  https://go.microsoft.com/fwlink/?linkid=14202")]
public DesignerTransactionCloseEventArgs (bool commit);
[System.Obsolete("This constructor has been deprecated. Use DesignerTransactionCloseEventArgs(bool, bool) instead.")]
public DesignerTransactionCloseEventArgs (bool commit);
[System.Obsolete("This constructor is obsolete. Use DesignerTransactionCloseEventArgs(bool, bool) instead.  http://go.microsoft.com/fwlink/?linkid=14202")]
public DesignerTransactionCloseEventArgs (bool commit);
public DesignerTransactionCloseEventArgs (bool commit);
[<System.Obsolete("This constructor is obsolete. Use DesignerTransactionCloseEventArgs(bool, bool) instead.  https://go.microsoft.com/fwlink/?linkid=14202")>]
new System.ComponentModel.Design.DesignerTransactionCloseEventArgs : bool -> System.ComponentModel.Design.DesignerTransactionCloseEventArgs
[<System.Obsolete("This constructor has been deprecated. Use DesignerTransactionCloseEventArgs(bool, bool) instead.")>]
new System.ComponentModel.Design.DesignerTransactionCloseEventArgs : bool -> System.ComponentModel.Design.DesignerTransactionCloseEventArgs
[<System.Obsolete("This constructor is obsolete. Use DesignerTransactionCloseEventArgs(bool, bool) instead.  http://go.microsoft.com/fwlink/?linkid=14202")>]
new System.ComponentModel.Design.DesignerTransactionCloseEventArgs : bool -> System.ComponentModel.Design.DesignerTransactionCloseEventArgs
new System.ComponentModel.Design.DesignerTransactionCloseEventArgs : bool -> System.ComponentModel.Design.DesignerTransactionCloseEventArgs
Public Sub New (commit As Boolean)

參數

commit
Boolean

指示是否認可異動的值。

屬性

適用於

DesignerTransactionCloseEventArgs(Boolean, Boolean)

來源:
DesignerTransactionCloseEventArgs.cs
來源:
DesignerTransactionCloseEventArgs.cs
來源:
DesignerTransactionCloseEventArgs.cs

初始化 DesignerTransactionCloseEventArgs 類別的新執行個體。

public:
 DesignerTransactionCloseEventArgs(bool commit, bool lastTransaction);
public DesignerTransactionCloseEventArgs (bool commit, bool lastTransaction);
new System.ComponentModel.Design.DesignerTransactionCloseEventArgs : bool * bool -> System.ComponentModel.Design.DesignerTransactionCloseEventArgs
Public Sub New (commit As Boolean, lastTransaction As Boolean)

參數

commit
Boolean

指示是否認可異動的值。

lastTransaction
Boolean

如果這是要關閉的最後一個異動則為 true,否則為 false

備註

如果 committrue,則 LastTransaction 屬性預設為 true

適用於