共用方式為


IdentityPropertiesView.GetViewProperties 方法 (IdentityPropertyScope)

屬性包。 這可能會很有用,例如,如果消費者必須透過目前的屬性,逐一查看並修改/移除依據模式比對屬性名稱的陣列。

命名空間:  Microsoft.TeamFoundation.Framework.Server
組件:  Microsoft.TeamFoundation.Server.Core (在 Microsoft.TeamFoundation.Server.Core.dll 中)

語法

'宣告
Public Function GetViewProperties ( _
    propertyScope As IdentityPropertyScope _
) As IEnumerable(Of KeyValuePair(Of String, Object))
public IEnumerable<KeyValuePair<string, Object>> GetViewProperties(
    IdentityPropertyScope propertyScope
)

參數

傳回值

類型:System.Collections.Generic.IEnumerable<KeyValuePair<String, Object>>
傳回 IEnumerable<T>

.NET Framework 安全性

請參閱

參考

IdentityPropertiesView 類別

GetViewProperties 多載

Microsoft.TeamFoundation.Framework.Server 命名空間