Kentico 10 API Reference
Kentico 10 API Reference
Namespaces
CMS.IO
File Class
File Methods
AppendAllText Method
Copy Method
Create Method
CreateText Method
Delete Method
Exists Method
ExistsRelative Method
GetAccessControl Method
GetFileObject Method
GetFileUrl Method
GetLastWriteTime Method
Move Method
Open Method
OpenRead Method
OpenText Method
ReadAllBytes Method
ReadAllText Method
SetAttributes Method
SetLastWriteTime Method
SetLastWriteTimeUtc Method
WriteAllBytes Method
WriteAllText Method
File
OpenRead Method
Opens an existing file for reading.
Namespace:
CMS.IO
Assembly:
CMS.IO (in CMS.IO.dll) Version: 10.0.0
Syntax
C#
Copy
public
static
FileStream
OpenRead
(
string
path
)
Parameters
path
Type:
System
String
Path to file
Return Value
Type:
FileStream
See Also
Reference
File Class
CMS.IO Namespace
Copyright (c) 2016 Kentico Software
Send comments on this topic to
support@kentico.com