Share via


PropertyBag.SetProperty Method

Sets a property in this collection to the specified value.

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)

Syntax

'Declaration
Public Sub SetProperty ( _
    key As String, _
    value As Object _
)
public void SetProperty(
    string key,
    Object value
)
public:
void SetProperty(
    String^ key, 
    Object^ value
)
member SetProperty : 
        key:string * 
        value:Object -> unit
public function SetProperty(
    key : String, 
    value : Object
)

Parameters

.NET Framework Security

See Also

Reference

PropertyBag Class

Microsoft.TeamFoundation.Client Namespace