NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DataGridDesigner.Dispose

Disposes of the resources (other than memory) used by the DataGridDesigner.

[Visual Basic]
Overrides Public Sub Dispose()
[C#]
public override void Dispose();
[C++]
public: override void Dispose();
[JScript]
public override function Dispose();

Remarks

Call Dispose when you are finished using the DataGridDesigner . The Dispose method leaves the DataGridDesigner in an unusuable state. After calling Dispose, you must release all references to the DataGridDesigner so the memory it was occupying can be reclaimed by garbage collection.

Note   Always call Dispose before you release your last reference to the DataGridDesigner. Otherwise, the resources the DataGridDesigner is using will not be freed until garbage collection calls the DataGridDesigner object's destructor.

See Also

DataGridDesigner Class | DataGridDesigner Members | System.Web.UI.Design.WebControls Namespace | IDesigner