VB.Net/File Directory/Special Directories — различия между версиями

Материал из VB Эксперт
Перейти к: навигация, поиск
м (1 версия)
 
м (1 версия)
 
(нет различий)

Текущая версия на 12:45, 26 мая 2010

Special Directories: All Users Application Data

Imports System
Imports System.IO
Public Class MainClass
   Shared Sub Main()
       Console.WriteLine(My.ruputer.FileSystem.SpecialDirectories.AllUsersApplicationData)   
   End Sub 
End Class


Special Directories: Current User Application Data

Imports System
Imports System.IO
Public Class MainClass
   Shared Sub Main()
        Console.WriteLine(My.ruputer.FileSystem.SpecialDirectories.CurrentUserApplicationData)
   End Sub 
End Class


Special Directories: MyDocuments

Imports System
Imports System.IO
Public Class MainClass
   Shared Sub Main()
        Console.WriteLine(My.ruputer.FileSystem.SpecialDirectories.MyDocuments)
   End Sub 
End Class


Special Directories: MyMusic

Imports System
Imports System.IO
Public Class MainClass
   Shared Sub Main()
        Console.WriteLine(My.ruputer.FileSystem.SpecialDirectories.MyMusic)
   End Sub 
End Class


Special Directories: MyPictures

Imports System
Imports System.IO
Public Class MainClass
   Shared Sub Main()
        Console.WriteLine(My.ruputer.FileSystem.SpecialDirectories.MyPictures)
   End Sub 
End Class


Special Directories: Programs

Imports System
Imports System.IO
Public Class MainClass
   Shared Sub Main()
        Console.WriteLine(My.ruputer.FileSystem.SpecialDirectories.Programs)
   End Sub 
End Class


Special Directories: Temp

Imports System
Imports System.IO
Public Class MainClass
   Shared Sub Main()
        Console.WriteLine(My.ruputer.FileSystem.SpecialDirectories.Temp)
   End Sub 
End Class