IVsPersistDocData2.ReloadDocData Method

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

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)

int ReloadDocData (
	[InAttribute] uint grfFlags
int ReloadDocData (
	/** @attribute InAttribute() */ UInt32 grfFlags
function ReloadDocData (
	grfFlags : uint
) : int



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

Return Value

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

COM Signature

From vsshell.idl:

HRESULT IVsPersistDocData2::ReloadDocData(
   [in] VSRELOADDOCDATA grfFlags

Community Additions