다음을 통해 공유


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