共用方式為


DocData.ReloadDocData(UInt32) Method

Definition

Reloads the document data.

public:
 virtual int ReloadDocData(System::UInt32 flags);
public int ReloadDocData (uint flags);
abstract member ReloadDocData : uint32 -> int
override this.ReloadDocData : uint32 -> int
Public Function ReloadDocData (flags As UInteger) As Integer

Parameters

flags
UInt32

Indicates whether or not to ignore the next file change when reloading the document data.

Returns

Implements

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.

Applies to