Delen via


TeamFoundationIdentity.SetProperty Method (IdentityPropertyScope, String, Object)

Sets a property, will overwrite if already set.

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

Syntax

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

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationIdentity Class

SetProperty Overload

Microsoft.TeamFoundation.Framework.Client Namespace