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: System.UInt32[in] Bit flags indicating which locations to check for settings files. Constructed from values in the __VSPROFILELOCATIONS enumeration.
ppCollection
Type: Microsoft.VisualStudio.Shell.Interop.IVsProfileSettingsFileCollection%[out] Pointer to an IVsProfileSettingsFileCollection interface for the retrieved settings files.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.