Udostępnij za pośrednictwem


IVsSettingsManager.GetApplicationDataFolder(UInt32, String) Method

Definition

Returns the application data folder path that Visual Studio uses to store various files.

public:
 int GetApplicationDataFolder(System::UInt32 folder, [Runtime::InteropServices::Out] System::String ^ % folderPath);
int GetApplicationDataFolder(unsigned int folder, [Runtime::InteropServices::Out] std::wstring const & & folderPath);
public int GetApplicationDataFolder (uint folder, out string folderPath);
abstract member GetApplicationDataFolder : uint32 * string -> int
Public Function GetApplicationDataFolder (folder As UInteger, ByRef folderPath As String) As Integer

Parameters

folder
UInt32

[in] The name of the folder containing application data.

folderPath
String

[out] Complete path to the folder.

Returns

Returns S_OK if the folder path was found.

Remarks

This method is safe to access from any thread.

Applies to