BasicNoUIObjSetMacroStale Method |
Set the macro/module cached source as stale.
This removes the cached source from consideration forcing the source code to be read again.
Namespace: WinWrap.Basic.ServerAssembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntaxpublic void SetMacroStale(
string fileName
)
Public Sub SetMacroStale (
fileName As String
)
public:
virtual void SetMacroStale(
String^ fileName
) sealed
Parameters
- fileName String
-
Set this macro/module cached source as stale.
If this is a null string, set stale for all cached source.
Implements
IBasicNoUISetMacroStale(String)
Remarks
This removes the cached source from consideration forcing the source code to be read again.
Example
Remove TEST.BAS from the cache:
basicIdeCtl1.SetMacroStale("TEST.BAS");
BasicIdeCtl1.SetMacroStale("TEST.BAS")
basicIdeCtl1->SetMacroStale(L"TEST.BAS");
See Also