共用方式為


IVsBuildPropertyStorage2.SetPropertyValueEx Method

Definition

Sets a property value.

public:
 int SetPropertyValueEx(System::String ^ pszPropName, System::String ^ pszPropertyGroupCondition, System::UInt32 storage, System::String ^ pszPropValue);
public:
 int SetPropertyValueEx(Platform::String ^ pszPropName, Platform::String ^ pszPropertyGroupCondition, unsigned int storage, Platform::String ^ pszPropValue);
int SetPropertyValueEx(std::wstring const & pszPropName, std::wstring const & pszPropertyGroupCondition, unsigned int storage, std::wstring const & pszPropValue);
public int SetPropertyValueEx (string pszPropName, string pszPropertyGroupCondition, uint storage, string pszPropValue);
abstract member SetPropertyValueEx : string * string * uint32 * string -> int
Public Function SetPropertyValueEx (pszPropName As String, pszPropertyGroupCondition As String, storage As UInteger, pszPropValue As String) As Integer

Parameters

pszPropName
String

The property name.

pszPropertyGroupCondition
String

The property group condition.

storage
UInt32

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

pszPropValue
String

The property value.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to