共用方式為


IVsPersistDocData.LoadDocData(String) Method

Definition

Loads the document data from a given MkDocument.

public:
 int LoadDocData(System::String ^ pszMkDocument);
public:
 int LoadDocData(Platform::String ^ pszMkDocument);
int LoadDocData(std::wstring const & pszMkDocument);
public int LoadDocData (string pszMkDocument);
abstract member LoadDocData : string -> int
Public Function LoadDocData (pszMkDocument As String) As Integer

Parameters

pszMkDocument
String

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

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsPersistDocData::LoadDocData(  
   [in] LPCOLESTR pszMkDocument  
);  

Applies to