Share via


TeamFoundationIdentity.TryGetProperty Method (IdentityPropertyScope, String, Object%)

Property accessor. Will return null if not found.

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

Syntax

'Declaration
Public Function TryGetProperty ( _
    propertyScope As IdentityPropertyScope, _
    name As String, _
    <OutAttribute> ByRef value As Object _
) As Boolean
public bool TryGetProperty(
    IdentityPropertyScope propertyScope,
    string name,
    out Object value
)
public:
bool TryGetProperty(
    IdentityPropertyScope propertyScope, 
    String^ name, 
    [OutAttribute] Object^% value
)
member TryGetProperty : 
        propertyScope:IdentityPropertyScope * 
        name:string * 
        value:Object byref -> bool
public function TryGetProperty(
    propertyScope : IdentityPropertyScope, 
    name : String, 
    value : Object
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

TeamFoundationIdentity Class

TryGetProperty Overload

Microsoft.TeamFoundation.Framework.Client Namespace