FileMetadata 1.0 control documentation

Opens a stream with the specified creation mode, read/write permission, and sharing permission.

[Visual�Basic]
Overloads�Public�Function�OpenStream( _
���ByVal mode�As�FileMode,�_
���ByVal access�As�FileAccess,�_
���ByVal share�As�FileShare�_
)�As�FileStream
[C#]
public�FileStream�OpenStream(
���FileModemode,
���FileAccessaccess,
���FileShareshare
);

Parameters

mode
A FileMode constant that determines how to open or create the value.
access
A FileAccess constant that determines how the value can be accessed by the FileStream object.
share
A FileShare constant that determines how the value will be shared by processes.

Remarks

After calling the OpenStream method, you must use the FileStream.Close() method to close the FileStream object and free associated system resources.

See Also

MetadataItem Class | ElementIT.FileMetadata Namespace | MetadataItem.OpenStream Overload List