Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Ensures that the information will be retained even if another thread modifies the editor that contains the buffer until the Unlock method is called.
Namespace: Microsoft.Xaml
Assembly: Microsoft.Windows.Design.Markup (in Microsoft.Windows.Design.Markup.dll)
Syntax
'Declaration
Sub Lock
'Usage
Dim instance As IXamlFileInformationContext
instance.Lock()
void Lock()
void Lock()
function Lock()
Remarks
The Lock and Unlock methods can be nested. Only when the outermost lock is unlocked will the data be collectable.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IXamlFileInformationContext Interface
IXamlFileInformationContext Members