Compartilhar via


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: String

    The property name.

  • pszPropertyGroupCondition
    Type: String

    The property group condition.

  • storage
    Type: UInt32

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

  • pszPropValue
    Type: String

    The property value.

Return Value

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

.NET Framework Security

See Also

Reference

IVsBuildPropertyStorage2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace