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
'Dichiarazione
Public Function CreateChangeMarker As IDisposable
'Utilizzo
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
- 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.