次の方法で共有


IVsExternalFilesManager.GetExternalFilesProject(IVsProject) Method

Definition

Instantiates the Miscellaneous Files (External Files) project and returns a pointer to it.

public:
 int GetExternalFilesProject([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsProject ^ % ppProject);
public:
 int GetExternalFilesProject([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsProject ^ &  ppProject);
int GetExternalFilesProject([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsProject const & & ppProject);
public int GetExternalFilesProject (out Microsoft.VisualStudio.Shell.Interop.IVsProject ppProject);
abstract member GetExternalFilesProject : IVsProject -> int
Public Function GetExternalFilesProject (ByRef ppProject As IVsProject) As Integer

Parameters

ppProject
IVsProject

[out] Pointer to the Miscellaneous Files (External Files) project.

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsExternalFilesManager::GetExternalFilesProject(  
   [out] IVsProject **ppProject  
);  

GetExternalFilesProject returns a pointer to the Miscellaneous Files project when a document is to be saved outside of its own project system, for example, a World Wide Web project.

Applies to