Note
The format of file name (absolute or relative path, which folder is the base, encoding, etc) depends on the platform.
Gets the contents of an existing file by the file name.
Unless the requested file exists, throws an exception which type depends on the platform.
Stream GetFileByName(
string fileName
)Function GetFileByName (
fileName As String
) As StreamStream^ GetFileByName(
String^ fileName
)abstract GetFileByName :
fileName : string -> Stream