Share via


IVsPropertyBag.SetValue Method

Adds or updates a named property in the property bag.

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

Syntax

'Declaration
Sub SetValue ( _
    szName As String, _
    ByRef pVarValue As Object _
)
void SetValue(
    string szName,
    ref Object pVarValue
)
void SetValue(
    [InAttribute] String^ szName, 
    [InAttribute] Object^% pVarValue
)
abstract SetValue : 
        szName:string * 
        pVarValue:Object byref -> unit
function SetValue(
    szName : String, 
    pVarValue : Object
)

Parameters

  • pVarValue
    Type: System.Object%

    [in] The new or updated value for the property.

.NET Framework Security

See Also

Reference

IVsPropertyBag Interface

Microsoft.VisualStudio.Shell.Interop Namespace