Mediachase FileUploader.NET 1.9 Framework Help

McFile.Exists Method 

Determines whether the specified file exists.

[Visual Basic]
Public Shared Function Exists( _
   ByVal fileId As Guid _
) As Boolean
[C#]
public static bool Exists(
   Guid fileId
);

Parameters

fileId
An unique file id.

Return Value

true if the caller has the required permissions and path contains the name of an existing file; otherwise, false. This method also returns false if path is a null reference (Nothing in Visual Basic) or a zero-length string. If the caller does not have sufficient permissions to read the specified file, no exception is thrown and the method returns false regardless of the existence of path.

See Also

McFile Class | Mediachase.FileUploader Namespace