다음을 통해 공유


DocData.Load Method (String, Boolean)

Loads the document into memory.

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 MustOverride Sub Load ( _
    fileName As String, _
    isReload As Boolean _
)
protected abstract void Load(
    string fileName,
    bool isReload
)
protected:
virtual void Load(
    String^ fileName, 
    bool isReload
) abstract
abstract Load : 
        fileName:string * 
        isReload:bool -> unit
protected abstract function Load(
    fileName : String, 
    isReload : boolean
)

Parameters

  • isReload
    Type: System.Boolean

    true to reload a document; false to load a different document.

Remarks

This method implements the IVsPersistDocData2 interface.

.NET Framework Security

See Also

Reference

DocData Class

Load Overload

Microsoft.VisualStudio.Modeling.Shell Namespace