IVsUpgradeBuildPropertyStorage::GetImports Method (Array^, Array^)

 

Gets multiple imports from a project file.

Namespace:   Microsoft.VisualStudio.Shell.Interop
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::Int32

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