IVsProfileSettingsFileCollection.AddBrowseFile Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
int AddBrowseFile(System::String ^ bstrFilePath, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsProfileSettingsFileInfo ^ % ppFileInfo);
C++/CX
public:
int AddBrowseFile(Platform::String ^ bstrFilePath, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsProfileSettingsFileInfo ^ & ppFileInfo);
int AddBrowseFile(std::wstring const & bstrFilePath, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsProfileSettingsFileInfo const & & ppFileInfo);
public int AddBrowseFile(string bstrFilePath, out Microsoft.VisualStudio.Shell.Interop.IVsProfileSettingsFileInfo ppFileInfo);
abstract member AddBrowseFile : string * IVsProfileSettingsFileInfo -> int
Public Function AddBrowseFile (bstrFilePath As String, ByRef ppFileInfo As IVsProfileSettingsFileInfo) As Integer
- bstrFilePath
- String
[in]
- ppFileInfo
- IVsProfileSettingsFileInfo
[out]Adds a file to the file collection.
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell80.idl:
[C++]
HRESULT IVsProfileSettingsFileCollection::AddBrowseFile(
[in] BSTR bstrFilePath,
[out] IVsProfileSettingsFileInfo **ppFileInfo
);
Product | Versions |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |