IVsUpgradeBuildPropertyStorage::GetImports Method (Array^, Array^)
Visual Studio 2015
Gets multiple imports from a project file.
Assembly: Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)
int GetImports(
[OutAttribute] Array^% prgImportPaths,
[OutAttribute] Array^% prgImportConditions
)
Parameters
- prgImportPaths
-
Type:
System::Array^
[in] Array of paths to the files to import.
- prgImportConditions
-
Type:
System::Array^
[in] Array of conditions to be evaluated.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell90.idl:
HRESULT GetImports(
[out] SAFEARRAY (BSTR)* prgImportPaths,
[out] SAFEARRAY (BSTR)* prgImportConditions
);
Show: