Reloads the document.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'宣言
Protected Overridable Function ReloadDocDataWorker ( _
flags As UInteger _
) As Integer
'使用
Dim flags As UInteger
Dim returnValue As Integer
returnValue = Me.ReloadDocDataWorker(flags)
protected virtual int ReloadDocDataWorker(
uint flags
)
protected:
virtual int ReloadDocDataWorker(
unsigned int flags
)
protected function ReloadDocDataWorker(
flags : uint
) : int
Parameters
flags
Type: System.UInt32Indicates 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.
Permissions
- 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.