IVsPersistDocData2::LoadDocData Method (String^)

 

Loads the document data from a given MkDocument.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int LoadDocData(
	String^ pszMkDocument
)

Parameters

pszMkDocument
Type: System::String^

[in] Path to the document file name to be loaded.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

HRESULT IVsPersistDocData2::LoadDocData(
   [in] LPCOLESTR pszMkDocument
);
Return to top
Show: