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!

CodeStream.Unload

Unloads the currently loaded document.

[Visual Basic]
MustOverride Public Sub Unload()
[C#]
public abstract void Unload();
[C++]
public: virtual void Unload() = 0;
[JScript]
public abstract function Unload();

Remarks

Notes to Inheritors: Meant to be overridden in a derived class, call this method to unload the document. The code stream should detach any events it may be checking for at that time. After this call, the document may undergo many changes, none of which should impact the underlying document code. If a document is being reloaded from disk, the designer host will typically call Unload, then Load.

See Also

CodeStream Class | CodeStream Members | System.ComponentModel.Design Namespace | Load