Share via


TeamFoundationIdentity.TryGetProperty 方法 (IdentityPropertyScope, String, Object%)

属性访问器。 将返回 null,如果未找到。

命名空间:  Microsoft.TeamFoundation.Server.Core
程序集:  Microsoft.TeamFoundation.Server.Core(在 Microsoft.TeamFoundation.Server.Core.dll 中)

语法

声明
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
)

参数

返回值

类型:System.Boolean
返回 Boolean

.NET Framework 安全性

请参阅

参考

TeamFoundationIdentity 类

TryGetProperty 重载

Microsoft.TeamFoundation.Server.Core 命名空间