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
szName
Type: String[in] Name of the property.
pVarValue
Type: Object%[in] The new or updated value for the property.
.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.