Share via


IVsProfileDataManager.GetUniqueExportFileName(UInt32, String) Method

Definition

Retrieves a unique filename to use when saving Settings.

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

Parameters

flags
UInt32

[in] Bit flags. Constructed using values from the __VSPROFILEGETFILENAME enumeration.

pbstrExportFile
String

[out] Pointer to a string containing the path and name of the file.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to