Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
'Declaration
Public Function ReloadDocData ( _
flags As UInteger _
) As Integer
public int ReloadDocData(
uint flags
)
public:
virtual int ReloadDocData(
unsigned int flags
) sealed
abstract ReloadDocData :
flags:uint32 -> int
override ReloadDocData :
flags:uint32 -> int
public final function ReloadDocData(
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.
Implements
IVsPersistDocData2.ReloadDocData(UInt32)
IVsPersistDocData.ReloadDocData(UInt32)
Remarks
Notes about flags parameter: We always discard the undo stack on reload, so the RDD_RemoveUndoStack flag is ignored. We support IVsFileChangeControl, so we should not be called with RDD_IgnoreFileChange.
.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.