Loads a document that has a specific file name.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'Declaration
Protected Overrides Function LoadDocData ( _
fileName As String, _
isReload As Boolean _
) As Integer
'Usage
Dim fileName As String
Dim isReload As Boolean
Dim returnValue As Integer
returnValue = Me.LoadDocData(fileName, _
isReload)
protected override int LoadDocData(
string fileName,
bool isReload
)
protected:
virtual int LoadDocData(
String^ fileName,
bool isReload
) override
protected override function LoadDocData(
fileName : String,
isReload : boolean
) : int
Parameters
fileName
Type: System.StringThe name of the document.
isReload
Type: System.Booleantrue to reload the document; otherwise, false.
Return Value
Type: System.Int32
The document.
.NET Framework Security
- 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.