Метод | Описание | |
---|---|---|
CreateStream ( FileMode mode ) : Stream |
The stream to use.
|
|
Delete ( ) : void |
Attempt to delete the file. Will fail for this location type.
|
|
Exists ( ) : bool |
Does the file exist? This is always true for this location type.
|
|
RenameTo ( IPersistenceLocation toLocation ) : void |
Rename this file to a different location.
|
|
StreamPersistence ( Stream stream ) : System |
Construct a persistance location based on a stream.
|
public CreateStream ( FileMode mode ) : Stream | ||
mode | FileMode | |
Результат | Stream |
public RenameTo ( IPersistenceLocation toLocation ) : void | ||
toLocation | IPersistenceLocation | What to rename to. |
Результат | void |
public StreamPersistence ( Stream stream ) : System | ||
stream | Stream | The stream to use. |
Результат | System |