共用方式為


IdentityPropertiesView.TryGetProperty Method (String, Object%)

Property accessor. Will return null if not found.

Namespace:  Microsoft.TeamFoundation.Framework.Server
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

IdentityPropertiesView Class

TryGetProperty Overload

Microsoft.TeamFoundation.Framework.Server Namespace