WstFileStream.Lock Method
[This is internal Microsoft documentation - Do not distribute.]
Prevents other processes from changing the FileStream while permitting read access.
Namespace: Microsoft.Webstore.WstClient
Assembly: ICL (in icl.dll)
Syntax
'Declaration
Public Overridable Sub Lock ( _
position As Long, _
length As Long _
)
public virtual void Lock (
long position,
long length
)
Parameters
- position
The beginning of the range to lock. The value of this parameter must be equal to or greater than zero (0).
- length
The range to be locked.
Thread Safety
All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition
Target Platforms
See Also
Reference
WstFileStream Class
WstFileStream Members
Microsoft.Webstore.WstClient Namespace