RollingFileAppender FileExists Method | Apache log4net™ SDK Documentation

Test if a file exists at a specified path

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    protected bool FileExists(
    	string path
    )

    Protected Function FileExists (
    	path As String
    ) As Boolean

    protected:
    bool FileExists(
    	String^ path
    )

    member FileExists :
            path : string -> bool

#### Parameters

path
  Type: System
  String
  the path to the file

#### Return Value

Type: Boolean
true if the file exists
Remarks

Test if a file exists at a specified path

See Also

#### Reference

RollingFileAppender Class
log4net.Appender Namespace