IVsUpgradeBuildPropertyStorage.AddNewImport(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Add a new import to a project file.
public:
int AddNewImport(System::String ^ pszImportPath, System::String ^ pszImportCondition);
public:
int AddNewImport(Platform::String ^ pszImportPath, Platform::String ^ pszImportCondition);
int AddNewImport(std::wstring const & pszImportPath, std::wstring const & pszImportCondition);
public int AddNewImport (string pszImportPath, string pszImportCondition);
abstract member AddNewImport : string * string -> int
Public Function AddNewImport (pszImportPath As String, pszImportCondition As String) As Integer
Parameters
- pszImportPath
- String
[in] Path to the file to import.
- pszImportCondition
- String
[in] Condition to be evaluated.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell90.idl:
HRESULT AddNewImport(
[in] LPCOLESTR pszImportPath,
[in] LPCOLESTR pszImportCondition
);