共用方式為


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