DocData.ReloadDocDataWorker Method

Reloads the document.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
Protected Overridable Function ReloadDocDataWorker ( _
    flags As UInteger _
) As Integer
protected virtual int ReloadDocDataWorker(
    uint flags
)
protected:
virtual int ReloadDocDataWorker(
    unsigned int flags
)
abstract ReloadDocDataWorker : 
        flags:uint32 -> int  
override ReloadDocDataWorker : 
        flags:uint32 -> int
protected function ReloadDocDataWorker(
    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.

Remarks

This method implements the IVsPersistDocData2 interface.

.NET Framework Security

See Also

Reference

DocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace