共用方式為


IVsProfileSettingsFileCollection.GetSettingsFile Method

Definition

public:
 int GetSettingsFile(int index, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsProfileSettingsFileInfo ^ % ppFileInfo);
public:
 int GetSettingsFile(int index, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsProfileSettingsFileInfo ^ &  ppFileInfo);
int GetSettingsFile(int index, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsProfileSettingsFileInfo const & & ppFileInfo);
public int GetSettingsFile (int index, out Microsoft.VisualStudio.Shell.Interop.IVsProfileSettingsFileInfo ppFileInfo);
abstract member GetSettingsFile : int * IVsProfileSettingsFileInfo -> int
Public Function GetSettingsFile (index As Integer, ByRef ppFileInfo As IVsProfileSettingsFileInfo) As Integer

Parameters

index
Int32

[in]

ppFileInfo
IVsProfileSettingsFileInfo

[out]

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::GetSettingsFile(  
   [in] int index,   
   [out] IVsProfileSettingsFileInfo **ppFileInfo  
);  

Applies to