VB.Net Tutorial/Stream File/Path

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

Path.GetInvalidFileNameChars

Imports System.IO
public class Test
   public Shared Sub Main
        For Each ch As Char In Path.GetInvalidFileNameChars()
            Console.WriteLine(ch)
        Next ch
   End Sub
End class

Path.GetInvalidPathChars

Imports System.IO
public class Test
   public Shared Sub Main
        For Each ch As Char In Path.GetInvalidPathChars()
            Console.WriteLine(ch)
        Next ch
   End Sub
End class