CreateFileStreamWrapper

IStreamWrapperFactory.CreateFileStreamWrapper method (1 of 2)

Creates FileStream with the specified path and creation mode.

public IStreamWrapper CreateFileStreamWrapper(string fileName, FileMode fileMode)
Parameter Type Description
fileName String File name String
fileMode FileMode File mode FileMode

Return Value

Stream wrapper for COM interface IStreamWrapper

See Also


IStreamWrapperFactory.CreateFileStreamWrapper method (2 of 2)

Creates FileStream with the specified path, creation mode, and read/write permission.

public IStreamWrapper CreateFileStreamWrapper(string fileName, FileMode fileMode, 
    FileAccess fileAccess)
Parameter Type Description
fileName String File name String
fileMode FileMode File mode FileMode
fileAccess FileAccess File access FileAccess

Return Value

Stream wrapper for COM interface IStreamWrapper

See Also