다음을 통해 공유


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

Try get a property value with the view namespace.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

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

Parameters

Return Value

Type: System.Boolean
Property value.

.NET Framework Security

See Also

Reference

IdentityPropertiesView Class

TryGetViewProperty Overload

Microsoft.TeamFoundation.Framework.Server Namespace