메소드 | 설명 | |
---|---|---|
CalcMD5 ( ) : string | ||
Create ( ) : |
Creates the file named FileName and returns the GridFileStream
|
|
Create ( FileMode mode ) : |
||
Create ( FileMode mode, FileAccess access ) : |
||
Delete ( ) : void |
Permanently removes a file from the database.
|
|
GridFileInfo ( |
||
GridFileInfo ( |
||
MoveTo ( String newFileName ) : void |
Renames a file.
|
|
Open ( FileMode mode, FileAccess access ) : |
||
OpenRead ( ) : |
Creates a read-only GridFileStream to an existing file.
|
|
OpenWrite ( ) : |
Creates a write-only GridFileStream to an existing file.
|
|
Refresh ( ) : void |
Reloads the file information from the database. The data in the database will not reflect any changes done through an open stream until it is closed. |
|
ToDocument ( ) : |
||
ToString ( ) : string | ||
Truncate ( ) : void |
Deletes all data in a file and sets the length to 0.
|
|
UpdateInfo ( ) : void |
Updates the aliases, contentType, metadata and uploadDate in the database. To rename a file use the MoveTo method. |
메소드 | 설명 | |
---|---|---|
LoadFileData ( ) : void | ||
SetFileDataDefaults ( string filename ) : void |
public Create ( FileMode mode, FileAccess access ) : |
||
mode | FileMode | |
access | FileAccess | |
리턴 |
public GridFileInfo ( |
||
db | ||
filename | string | |
리턴 | System |
public GridFileInfo ( |
||
db | ||
bucket | string | |
filename | string | |
리턴 | System |
public Open ( FileMode mode, FileAccess access ) : |
||
mode | FileMode | |
access | FileAccess | |
리턴 |