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
'Declaration
Public Function CreateChangeMarker As IDisposable
public IDisposable CreateChangeMarker()
public:
IDisposable^ CreateChangeMarker()
member CreateChangeMarker : unit -> IDisposable
public function CreateChangeMarker() : IDisposable
Return Value
Type: 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
- 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.