'Declaration Public Shared Sub CloseFile( _
ByVal filenameAn absolute path to a file.As String, _
ByVal accessA constant that defines how the file can be accessed.As System.IO.FileAccess, _
ByVal streamStream to close.As System.IO.FileStream _
)
public static void CloseFile(
string filename,
System.IO.FileAccess access,
System.IO.FileStream stream
)
public: static void CloseFile(
string* filename,
System.IO.FileAccess access,
System.IO.FileStream* stream
)
public:
static void CloseFile(
string^ filename,
System.IO.FileAccess access,
System.IO.FileStream^ stream
)
Parameters
- filename
- An absolute path to a file.
- access
- A constant that defines how the file can be accessed.
- stream
- Stream to close.