Visual Basic (Declaration) | |
---|---|
Public Overloads Sub Dispose() |
C# | |
---|---|
public void Dispose() |
Library/Library.Test/TestTempFiles.cs
C# | Copy Code |
---|---|
TempFile f = new TempFile();
f.Length = 5;
Assert.AreEqual(f.Length, f.Info.Length);
f.Dispose();
Assert.AreEqual(0, f.Length); |
VB.NET | Copy Code |
---|---|
Dim f As New TempFile() f.Length = 5 Assert.AreEqual(f.Length, f.Info.Length) f.Dispose() Assert.AreEqual(0, f.Length) |
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7
Reference
TempFile ClassTempFile Members
Overload List
Used By
BasicTests.TestBulkInsert()SampleCustomTypeTest.Teardown()
BasicFileTests.TearDown()
BPlusTree
ThreadedBTreeTest.Teardown()
TempFile TempFile.FromCopy(String)
TempFile.Delete(String)
ScriptRunner.Dispose()