Compartir a través de


IVsUpgradeBuildPropertyStorage.GetImports Method

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)

Syntax

'Declaration
Function GetImports ( _
    <OutAttribute> ByRef prgImportPaths As Array, _
    <OutAttribute> ByRef prgImportConditions As Array _
) As Integer
int GetImports(
    out Array prgImportPaths,
    out Array prgImportConditions
)
int GetImports(
    [OutAttribute] Array^% prgImportPaths, 
    [OutAttribute] Array^% prgImportConditions
)
abstract GetImports : 
        prgImportPaths:Array byref * 
        prgImportConditions:Array byref -> int
function GetImports(
    prgImportPaths : Array, 
    prgImportConditions : Array
) : int

Parameters

  • prgImportPaths
    Type: Array%

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

  • prgImportConditions
    Type: Array%

    [in] Array of conditions to be evaluated.

Return Value

Type: Int32
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
);

.NET Framework Security

See Also

Reference

IVsUpgradeBuildPropertyStorage Interface

Microsoft.VisualStudio.Shell.Interop Namespace