MESCIUS SPREAD for Windows Forms 17.0J
Dispose(Boolean) メソッド

マネージリソースとアンマネージリソースを両方とも解放する場合はTrue、アンマネージリソースのみを解放する場合はFalse。
System.ComponentModel.Componentで使用されているアンマネージリソースを解放します。オプションで、マネージリソースを解放することもできます。
構文
'Declaration
 
Protected Overloads Overrides Sub Dispose( _
   ByVal disposing As Boolean _
) 
protected override void Dispose( 
   bool disposing
)

パラメータ

disposing
マネージリソースとアンマネージリソースを両方とも解放する場合はTrue、アンマネージリソースのみを解放する場合はFalse。
解説
<see cref="T:System.Windows.Forms.Control" />の使用が終わったら、<see cref="M:GrapeCity.Win.Spread.InputMan.CellType.SideButtonBase.Dispose(System.Boolean)" />を呼び出します。<b>Dispose</b>メソッドは、<see cref="T:System.Windows.Forms.Control" nolink="true" />を使用できない状態にします。<see cref="M:GrapeCity.Win.Spread.InputMan.CellType.SideButtonBase.Dispose(System.Boolean)" nolink="true" />を呼び出した後で、<see cref="T:System.Windows.Forms.Control" nolink="true" />へのすべての参照を解放し、<see cref="T:System.Windows.Forms.Control" nolink="true" />によって占有されていたメモリをガベージコレクターがクリアできるようにする必要があります。
参照

SideButtonBase クラス
SideButtonBase メンバ
オーバーロード一覧

 

 


© MESCIUS inc. All rights reserved.