CSharpTest.Net
Info Property
See Also  Example Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.IO Namespace > TempDirectory Class : Info Property

Glossary Item Box

Returns the FileInfo object for this temp directory.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Info As DirectoryInfo
C# 
public DirectoryInfo Info {get;}

Example

Library/Library.Test/TestTempFiles.cs

C#Copy Code
using(TempDirectory dir = new TempDirectory())
    Assert.AreEqual(dir.TempPath, dir.Info.FullName);
VB.NETCopy Code
Using dir As New TempDirectory()
    Assert.AreEqual(dir.TempPath, dir.Info.FullName)
End Using

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys