IVsUpgradeBuildPropertyStorage::SetPropertyValue Method (String^, String^, UInt32, String^)
Visual Studio 2015
Sets a property value in a project file.
Assembly: Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)
int SetPropertyValue( String^ pszPropName, String^ pszConfigName, unsigned int storage, String^ pszPropValue )
Parameters
- pszPropName
-
Type:
System::String^
[in] Name of the property.
- pszConfigName
-
Type:
System::String^
[in] Configuration associated with the property.
- storage
-
Type:
System::UInt32
[in] _PersistStorageType specifying whether the property is stored in a project or user file.
- pszPropValue
-
Type:
System::String^
[out] Value of the property.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell90.idl:
HRESULT SetPropertyValue(
[in] LPCOLESTR pszPropName,
[in] LPCOLESTR pszConfigName,
[in] PersistStorageType storage,
[in] BSTR* pbstrPropValue
);
Show: