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

‘선언
Function GetSettingsFiles ( _
    fileLocations As UInteger, _
    <OutAttribute> ByRef ppCollection As IVsProfileSettingsFileCollection _
) As Integer
‘사용 방법
Dim instance As IVsProfileDataManager
Dim fileLocations As UInteger
Dim ppCollection As IVsProfileSettingsFileCollection
Dim returnValue As Integer

returnValue = instance.GetSettingsFiles(fileLocations, _
    ppCollection)
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: System.UInt32
    [in] Bit flags indicating which locations to check for settings files. Constructed from values in the __VSPROFILELOCATIONS enumeration.

Return Value

Type: System.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

IVsProfileDataManager Members

Microsoft.VisualStudio.Shell.Interop Namespace