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
'宣言
Function GetImports ( _
<OutAttribute> ByRef prgImportPaths As Array, _
<OutAttribute> ByRef prgImportConditions As Array _
) As Integer
'使用
Dim instance As IVsUpgradeBuildPropertyStorage
Dim prgImportPaths As Array
Dim prgImportConditions As Array
Dim returnValue As Integer
returnValue = instance.GetImports(prgImportPaths, _
prgImportConditions)
int GetImports(
out Array prgImportPaths,
out Array prgImportConditions
)
int GetImports(
[OutAttribute] Array^% prgImportPaths,
[OutAttribute] Array^% prgImportConditions
)
function GetImports(
prgImportPaths : Array,
prgImportConditions : Array
) : int
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.
Remarks
COM Signature
From vsshell90.idl:
HRESULT GetImports(
[out] SAFEARRAY (BSTR)* prgImportPaths,
[out] SAFEARRAY (BSTR)* prgImportConditions
);
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsUpgradeBuildPropertyStorage Interface