IVsProfileDataManager.GetSettingsFiles 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索一个或多个设置文件。
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 的设置文件的接口的指针。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。
注解
COM 签名
从 vsshell80:
HRESULT IVsProfileDataManager::GetSettingsFiles(
[in] VSPROFILELOCATIONS fileLocations,
[out] IVsProfileSettingsFileCollection **ppCollection
);