다음을 통해 공유


IVsProfileSettingsFileCollection.AddBrowseFile Method

Definition

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  
);  

Applies to