共用方式為


DesignerTransactionCloseEventArgs 建構函式

定義

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

多載

名稱 Description
DesignerTransactionCloseEventArgs(Boolean)
已淘汰.
已淘汰.
已淘汰.

初始化類別的新實例 DesignerTransactionCloseEventArgs ,使用指定值,該值表示設計 Commit() 者是否呼叫該交易。

DesignerTransactionCloseEventArgs(Boolean, Boolean)

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

DesignerTransactionCloseEventArgs(Boolean)

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

警告

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

警告

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

警告

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 has been deprecated. Use DesignerTransactionCloseEventArgs(bool, bool) instead.")]
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 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 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.  https://go.microsoft.com/fwlink/?linkid=14202")>]
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.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

備註

committrueLastTransaction 屬性預設為 true

適用於