Share via


ModelingDocData.LoadDocData Method (String, Boolean)

Loads a document that has a specific file name.

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

Syntax

'Declaration
Protected Overrides Function LoadDocData ( _
    fileName As String, _
    isReload As Boolean _
) As Integer
protected override int LoadDocData(
    string fileName,
    bool isReload
)
protected:
virtual int LoadDocData(
    String^ fileName, 
    bool isReload
) override
abstract LoadDocData : 
        fileName:string * 
        isReload:bool -> int  
override LoadDocData : 
        fileName:string * 
        isReload:bool -> int
protected override function LoadDocData(
    fileName : String, 
    isReload : boolean
) : int

Parameters

  • fileName
    Type: String

    The name of the document.

  • isReload
    Type: Boolean

    true to reload the document; otherwise, false.

Return Value

Type: Int32
The document.

.NET Framework Security

See Also

Reference

ModelingDocData Class

LoadDocData Overload

Microsoft.VisualStudio.Modeling.Shell Namespace