Condividi tramite


IVsProfileDataManager.GetSettingsFiles Method

Retrieves one or more settings files.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function GetSettingsFiles ( _
    fileLocations As UInteger, _
    <OutAttribute> ByRef ppCollection As IVsProfileSettingsFileCollection _
) As Integer
int GetSettingsFiles(
    uint fileLocations,
    out IVsProfileSettingsFileCollection ppCollection
)
int GetSettingsFiles(
    [InAttribute] unsigned int fileLocations, 
    [OutAttribute] IVsProfileSettingsFileCollection^% ppCollection
)
abstract GetSettingsFiles : 
        fileLocations:uint32 * 
        ppCollection:IVsProfileSettingsFileCollection byref -> int
function GetSettingsFiles(
    fileLocations : uint, 
    ppCollection : IVsProfileSettingsFileCollection
) : int

Parameters

  • fileLocations
    Type: UInt32

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

Return Value

Type: Int32
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
);

.NET Framework Security

See Also

Reference

IVsProfileDataManager Interface

Microsoft.VisualStudio.Shell.Interop Namespace