Reloads the document.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'宣言
Public Function ReloadDocData ( _
flags As UInteger _
) As Integer
'使用
Dim instance As DocData
Dim flags As UInteger
Dim returnValue As Integer
returnValue = instance.ReloadDocData(flags)
public int ReloadDocData(
uint flags
)
public:
virtual int ReloadDocData(
unsigned int flags
) sealed
public final function ReloadDocData(
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.
Implements
IVsPersistDocData2.ReloadDocData(UInt32)
IVsPersistDocData.ReloadDocData(UInt32)
Remarks
This class cannot be inherited.
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.