Click or drag to resize

ShellUtilitiesGetStorageMode Method

Gets COM storage mode from .NET constants.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static STGM GetStorageMode(
	FileMode mode,
	FileAccess access,
	FileShare share
)

Parameters

mode
Type: System.IOFileMode
The A constant that determines how to open or create the file.
access
Type: System.IOFileAccess
A constant that determines how the file can be accessed by the FileStream object.
share
Type: System.IOFileShare
A constant that determines how the file will be shared by processes.

Return Value

Type: STGM
An instance of the STGM enum.
See Also