DesignerTransactionCloseEventArgs Sınıf
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
ve TransactionClosing olayları için TransactionClosed veri sağlar.
public ref class DesignerTransactionCloseEventArgs : EventArgs
public class DesignerTransactionCloseEventArgs : EventArgs
[System.Runtime.InteropServices.ComVisible(true)]
public class DesignerTransactionCloseEventArgs : EventArgs
type DesignerTransactionCloseEventArgs = class
inherit EventArgs
[<System.Runtime.InteropServices.ComVisible(true)>]
type DesignerTransactionCloseEventArgs = class
inherit EventArgs
Public Class DesignerTransactionCloseEventArgs
Inherits EventArgs
- Devralma
- Öznitelikler
Aşağıdaki kod örneği, oluşturma DesignerTransactionCloseEventArgsişlemini gösterir.
public:
// This example method creates a DesignerTransactionCloseEventArgs using the specified argument.
// Typically, this type of event args is created by a design mode subsystem.
DesignerTransactionCloseEventArgs^ CreateDesignerTransactionCloseEventArgs( bool commit )
{
// Creates a component changed event args with the specified arguments.
DesignerTransactionCloseEventArgs^ args = gcnew DesignerTransactionCloseEventArgs( commit );
// Whether the transaction has been committed: args.TransactionCommitted
return args;
}
// This example method creates a DesignerTransactionCloseEventArgs using the specified argument.
// Typically, this type of event args is created by a design mode subsystem.
public DesignerTransactionCloseEventArgs CreateDesignerTransactionCloseEventArgs(bool commit)
{
// Creates a component changed event args with the specified arguments.
DesignerTransactionCloseEventArgs args = new DesignerTransactionCloseEventArgs(commit, false);
// Whether the transaction has been committed: args.TransactionCommitted
return args;
}
' This example method creates a DesignerTransactionCloseEventArgs using the specified argument.
' Typically, this type of event args is created by a design mode subsystem.
Public Function CreateDesignerTransactionCloseEventArgs(ByVal commit As Boolean) As DesignerTransactionCloseEventArgs
' Creates a component changed event args with the specified arguments.
Dim args As New DesignerTransactionCloseEventArgs(commit, False)
' Whether the transaction has been committed: args.TransactionCommitted
Return args
End Function
Olay, TransactionClosed tasarımcı bir işlemi sonlandırdığında gerçekleşir.
Designer |
Geçersiz.
Geçersiz.
Geçersiz.
Tasarımcının işlemde DesignerTransactionCloseEventArgs çağırılıp çağrılmadığını Commit() belirten belirtilen değeri kullanarak sınıfının yeni bir örneğini başlatır. |
Designer |
DesignerTransactionCloseEventArgs sınıfının yeni bir örneğini başlatır. |
Last |
Bunun kapatılması gereken son işlem olup olmadığını belirten bir değer alır. |
Transaction |
Tasarımcının işlemde çağırıp çağırmadığını Commit() gösterir. |
Equals(Object) |
Belirtilen nesnenin geçerli nesneye eşit olup olmadığını belirler. (Devralındığı yer: Object) |
Get |
Varsayılan karma işlevi işlevi görür. (Devralındığı yer: Object) |
Get |
Type Geçerli örneğini alır. (Devralındığı yer: Object) |
Memberwise |
Geçerli Objectöğesinin sığ bir kopyasını oluşturur. (Devralındığı yer: Object) |
To |
Geçerli nesneyi temsil eden dizeyi döndürür. (Devralındığı yer: Object) |
Ürün | Sürümler |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
.NET geri bildirimi
.NET, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: