IVsUpgradeBuildPropertyStorage::RemoveImport Method (String^, String^)
Visual Studio 2015
Removes an import from a project file.
Assembly: Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)
Parameters
- pszImportPath
-
Type:
System::String^
[in] Path to the file to remove.
- pszImportCondition
-
Type:
System::String^
[in] Condition 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 RemoveImport(
[in] LPCOLESTR pszImportPath,
[in] LPCOLESTR pszImportCondition
);
Show: