DocData.ReloadDocDataWorker Method
Reloads the document.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaração
Protected Overridable Function ReloadDocDataWorker ( _
flags As UInteger _
) As Integer
protected virtual int ReloadDocDataWorker(
uint flags
)
protected:
virtual int ReloadDocDataWorker(
unsigned int flags
)
abstract ReloadDocDataWorker :
flags:uint32 -> int
override ReloadDocDataWorker :
flags:uint32 -> int
protected function ReloadDocDataWorker(
flags : uint
) : int
Parameters
- flags
Type: System.UInt32
Indicates whether to ignore the next file change when the document is reloaded. For a list of flags, see _VSRELOADDOCDATA.
Return Value
Type: System.Int32
S_OK if the method succeeds; otherwise, it returns an error code.
Remarks
This method implements the IVsPersistDocData2 interface.
.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.