IVsProfileDataManager.GetSettingsFiles 方法

定义

检索一个或多个设置文件。

public:
 int GetSettingsFiles(System::UInt32 fileLocations, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsProfileSettingsFileCollection ^ % ppCollection);
public:
 int GetSettingsFiles(unsigned int fileLocations, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsProfileSettingsFileCollection ^ &  ppCollection);
int GetSettingsFiles(unsigned int fileLocations, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsProfileSettingsFileCollection const & & ppCollection);
public int GetSettingsFiles (uint fileLocations, out Microsoft.VisualStudio.Shell.Interop.IVsProfileSettingsFileCollection ppCollection);
abstract member GetSettingsFiles : uint32 * IVsProfileSettingsFileCollection -> int
Public Function GetSettingsFiles (fileLocations As UInteger, ByRef ppCollection As IVsProfileSettingsFileCollection) As Integer

参数

fileLocations
UInt32

中指示要检查其设置文件的位置的位标志。 从枚举中的值构造 __VSPROFILELOCATIONS

ppCollection
IVsProfileSettingsFileCollection

弄指向检索到 IVsProfileSettingsFileCollection 的设置文件的接口的指针。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

注解

COM 签名

从 vsshell80:

HRESULT IVsProfileDataManager::GetSettingsFiles(  
   [in] VSPROFILELOCATIONS fileLocations,   
   [out] IVsProfileSettingsFileCollection **ppCollection  
);  

适用于