共用方式為


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

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

.NET Framework Security

See Also

Reference

IdentityPropertiesView Class

TryGetProperty Overload

Microsoft.TeamFoundation.Framework.Server Namespace