IVsProfileDataManager.GetUniqueExportFileName(UInt32, String) 方法

定义

检索保存设置时要使用的唯一文件名。

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

参数

flags
UInt32

中位标志。 使用枚举中的值构造 __VSPROFILEGETFILENAME

pbstrExportFile
String

弄指向字符串的指针,该字符串包含文件的路径和名称。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

适用于