IVsProfileSettingsFileCollection.AddBrowseFile Method
Definition
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);
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
Parameters
- bstrFilePath
- String
[in]
- ppFileInfo
- IVsProfileSettingsFileInfo
[out]Adds a file to the file collection.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
[C++]
HRESULT IVsProfileSettingsFileCollection::AddBrowseFile(
[in] BSTR bstrFilePath,
[out] IVsProfileSettingsFileInfo **ppFileInfo
);