次の方法で共有


DocData.CreateChangeMarker Method

Marks the beginning of an external change of the text buffer.

Namespace:  Microsoft.VisualStudio.Shell.Design.Serialization
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'宣言
Public Function CreateChangeMarker As IDisposable
public IDisposable CreateChangeMarker()

Return Value

Type: System.IDisposable
An IDisposable object.

Remarks

The DocData object tracks external text changes and may reload the designer if it detects such a change. Before changing the text yourself, call CreateChangeMarker. When done, dispose the returned IDisposable object.

.NET Framework Security

See Also

Reference

DocData Class

Microsoft.VisualStudio.Shell.Design.Serialization Namespace