IVsSettingsManager.GetApplicationDataFolder(UInt32, String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回 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
弄文件夹的完整路径。
返回
S_OK如果找到文件夹路径,则返回。