Share via


IVsUpgradeBuildPropertyStorage.GetImports(Array, Array) Method

Definition

Gets multiple imports from a project file.

public:
 int GetImports([Runtime::InteropServices::Out] Array ^ % prgImportPaths, [Runtime::InteropServices::Out] Array ^ % prgImportConditions);
public int GetImports (out Array prgImportPaths, out Array prgImportConditions);
abstract member GetImports : Array * Array -> int
Public Function GetImports (ByRef prgImportPaths As Array, ByRef prgImportConditions As Array) As Integer

Parameters

prgImportPaths
Array

[in] Array of paths to the files to import.

prgImportConditions
Array

[in] Array of conditions to be evaluated.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell90.idl:

HRESULT GetImports(  
    [out] SAFEARRAY (BSTR)* prgImportPaths,   
    [out] SAFEARRAY (BSTR)* prgImportConditions  
);  

Applies to