共用方式為


TeamFoundationIdentity.TryGetProperty Method (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 ( _
    name As String, _
    <OutAttribute> ByRef value As Object _
) As Boolean
public bool TryGetProperty(
    string name,
    out Object value
)
public:
bool TryGetProperty(
    String^ name, 
    [OutAttribute] Object^% value
)
member TryGetProperty : 
        name:string * 
        value:Object byref -> bool
public function TryGetProperty(
    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