Delen via


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

Property accessor. Will return null if not found.

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.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
Returns Boolean.

.NET Framework Security

See Also

Reference

TeamFoundationIdentity Class

TryGetProperty Overload

Microsoft.TeamFoundation.Server.Core Namespace