共用方式為


IVsPersistDocData.ReloadDocData(UInt32) Method

Definition

Reloads the document data and in the process determines whether to ignore a subsequent file change.

public:
 int ReloadDocData(System::UInt32 grfFlags);
public:
 int ReloadDocData(unsigned int grfFlags);
int ReloadDocData(unsigned int grfFlags);
public int ReloadDocData (uint grfFlags);
abstract member ReloadDocData : uint32 -> int
Public Function ReloadDocData (grfFlags As UInteger) As Integer

Parameters

grfFlags
UInt32

[in] Flag indicating whether to ignore the next file change when reloading the document data. See the data type _VSRELOADDOCDATA.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsPersistDocData::ReloadDocData(  
   [in] VSRELOADDOCDATA grfFlags  
);  

Applies to