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
key
Type: System.StringThe name of the property to modify.
value
Type: System.ObjectThe value to set.
.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.