IVsBuildPropertyStorage2.SetPropertyValueEx Method
Sets a property value.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function SetPropertyValueEx ( _
pszPropName As String, _
pszPropertyGroupCondition As String, _
storage As UInteger, _
pszPropValue As String _
) As Integer
int SetPropertyValueEx(
string pszPropName,
string pszPropertyGroupCondition,
uint storage,
string pszPropValue
)
int SetPropertyValueEx(
[InAttribute] String^ pszPropName,
[InAttribute] String^ pszPropertyGroupCondition,
[InAttribute] unsigned int storage,
[InAttribute] String^ pszPropValue
)
abstract SetPropertyValueEx :
pszPropName:string *
pszPropertyGroupCondition:string *
storage:uint32 *
pszPropValue:string -> int
function SetPropertyValueEx(
pszPropName : String,
pszPropertyGroupCondition : String,
storage : uint,
pszPropValue : String
) : int
Parameters
- pszPropName
Type: System.String
The property name.
- pszPropertyGroupCondition
Type: System.String
The property group condition.
- storage
Type: System.UInt32
[in] Storage type for file persistence. Values are taken from the _PersistStorageType enumeration.
- pszPropValue
Type: System.String
The property value.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.