Share via


IXamlFileInformationContext.Lock Method

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

See Also

Reference

IXamlFileInformationContext Interface

IXamlFileInformationContext Members

Microsoft.Xaml Namespace

Unlock

Other Resources

WPF Designer Extensibility