log4net SDK Reference |

# RollingFileAppender.FileExists Method

Test if a file exists at a specified path

[Visual Basic]
Protected Function FileExists( _
ByVal path As String _
) As Boolean
[C#]
protected bool FileExists(
string path
);

#### Parameters

path
  the path to the file

#### Return Value

true if the file exists

#### Remarks

Test if a file exists at a specified path

#### See Also

RollingFileAppender Class | log4net.Appender Namespace