IVsBuildPropertyStorage.SetPropertyValue Method

Used by a project subtype to set an MSBuild property value.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int SetPropertyValue(
	string pszPropName,
	string pszConfigName,
	uint storage,
	string pszPropValue
)

Parameters

pszPropName
Type: System.String

[in] Name of the build property.

pszConfigName
Type: System.String

[in] Name of the build configuration.

storage
Type: System.UInt32

[in] Storage type for file persistence. Values are taken from the _PersistStorageType enumeration.

pszPropValue
Type: System.String

[in] Specifies the MSBuild property value.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

COM Signature

From vsshell80.idl:

HRESULT IVsBuildPropertyStorage::SetPropertyValue(
   [in] LPCOLESTR pszPropName,
   [in] LPCOLESTR pszConfigName,
   [in] PersistStorageType storage,
   [in] LPCOLESTR pszPropValue
);

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft