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
‘사용 방법
Dim instance As DocData
Dim returnValue As IDisposable

returnValue = instance.CreateChangeMarker()
public IDisposable CreateChangeMarker()
public:
IDisposable^ CreateChangeMarker()
member CreateChangeMarker : unit -> IDisposable 
public function CreateChangeMarker() : IDisposable

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

DocData Members

Microsoft.VisualStudio.Shell.Design.Serialization Namespace