System.IO.FileSystemInfo.FileSystemInfo.CheckPath C# (CSharp) 메소드

CheckPath() 개인적인 메소드

private CheckPath ( string path ) : void
path string
리턴 void
		internal void CheckPath (string path)
		{
			if (path == null)
				throw new ArgumentNullException ("path");
			if (path.Length == 0)
				throw new ArgumentException ("An empty file name is not valid.");
			if (path.IndexOfAny (Path.InvalidPathChars) != -1)
				throw new ArgumentException ("Illegal characters in path.");
		}