IVsSettingsManager.GetApplicationDataFolder(UInt32, String) 方法

定义

返回 Visual Studio 用于存储各种文件的应用程序数据文件夹路径。

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 *  -> int
Public Function GetApplicationDataFolder (folder As UInteger, ByRef folderPath As String) As Integer

参数

folder
UInt32

中包含应用程序数据的文件夹的名称。

folderPath
String

弄文件夹的完整路径。

返回

Int32

S_OK如果找到文件夹路径,则返回。

适用于