Udostępnij za pośrednictwem


IVsProfileDataManager.GetSettingsFiles Method

Definition

Retrieves one or more settings files.

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

Parameters

fileLocations
UInt32

[in] Bit flags indicating which locations to check for settings files. Constructed from values in the __VSPROFILELOCATIONS enumeration.

ppCollection
IVsProfileSettingsFileCollection

[out] Pointer to an IVsProfileSettingsFileCollection interface for the retrieved settings files.

Returns

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

Remarks

COM Signature

From vsshell80.idl:

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

Applies to