IVsProfileSettingsFileCollection::AddBrowseFile Method (String^, IVsProfileSettingsFileInfo^)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int AddBrowseFile(
	String^ bstrFilePath,
	[OutAttribute] IVsProfileSettingsFileInfo^% ppFileInfo
)

Parameters

bstrFilePath
Type: System::String^

[in]

ppFileInfo
Type: Microsoft.VisualStudio.Shell.Interop::IVsProfileSettingsFileInfo^

[out]Adds a file to the file collection.

Return Value

Type: System::Int32

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
);
Return to top
Show: