DesignerTransactionCloseEventArgs クラス
アセンブリ: System (system.dll 内)
構文
TransactionClosed イベントは、デザイナがトランザクションを終了するときに発生します。
メモ |
---|
このクラスに適用される HostProtectionAttribute 属性の Resources プロパティの値は、SharedState です。HostProtectionAttribute は、デスクトップ アプリケーション (一般的には、アイコンをダブルクリック、コマンドを入力、またはブラウザに URL を入力して起動するアプリケーション) には影響しません。詳細については、HostProtectionAttribute クラスのトピックまたは「SQL Server プログラミングとホスト保護属性」を参照してください。 |
DesignerTransactionCloseEventArgs を作成するコード例を次に示します。
' 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
// 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; }
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(boolean commit) { // Creates a component changed event args with the specified arguments. DesignerTransactionCloseEventArgs args = new DesignerTransactionCloseEventArgs(commit); // Whether the transaction has been committed: // args.TransactionCommitted return args; } //CreateDesignerTransactionCloseEventArgs
継承階層
System.EventArgs
System.ComponentModel.Design.DesignerTransactionCloseEventArgs
プラットフォーム
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
参照
Weblioに収録されているすべての辞書からDesignerTransactionCloseEventArgs クラスを検索する場合は、下記のリンクをクリックしてください。
全ての辞書からDesignerTransactionCloseEventArgs クラス を検索
- DesignerTransactionCloseEventArgs クラスのページへのリンク