Method Accept Accept(IO.FileInfo, String) Declaration public virtual bool Accept(IO.FileInfo dir, String name) Parameters Type Name Description System.IO.FileInfo dir System.String name Returns Type Description System.Boolean